From 4f1c91e94b3d4fe6d47fe314e54806209acbd777 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 28 Jun 2023 08:27:50 -0700 Subject: [PATCH 1/3] Delete the old ReactiveCocoa example This was using a very, very old version of ReactiveCocoa from 2015 and hasn't been applicable to any maintained versions of it for a very long time. --- build.sh | 3 +- examples/ios/objc/Podfile | 5 - examples/ios/objc/Podfile.lock | 22 -- examples/ios/objc/RACTableView/AppDelegate.h | 25 -- examples/ios/objc/RACTableView/AppDelegate.m | 34 --- .../AppIcon.appiconset/Contents.json | 58 ---- .../LaunchImage.launchimage/Contents.json | 51 ---- examples/ios/objc/RACTableView/Info.plist | 47 ---- .../objc/RACTableView/TableViewController.h | 23 -- .../objc/RACTableView/TableViewController.m | 256 ------------------ examples/ios/objc/RACTableView/main.m | 28 -- .../RealmExamples.xcodeproj/project.pbxproj | 37 --- 12 files changed, 1 insertion(+), 588 deletions(-) delete mode 100644 examples/ios/objc/Podfile delete mode 100644 examples/ios/objc/Podfile.lock delete mode 100644 examples/ios/objc/RACTableView/AppDelegate.h delete mode 100644 examples/ios/objc/RACTableView/AppDelegate.m delete mode 100644 examples/ios/objc/RACTableView/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/ios/objc/RACTableView/Images.xcassets/LaunchImage.launchimage/Contents.json delete mode 100644 examples/ios/objc/RACTableView/Info.plist delete mode 100644 examples/ios/objc/RACTableView/TableViewController.h delete mode 100644 examples/ios/objc/RACTableView/TableViewController.m delete mode 100644 examples/ios/objc/RACTableView/main.m diff --git a/build.sh b/build.sh index a74af2bf87..aef5231203 100755 --- a/build.sh +++ b/build.sh @@ -887,8 +887,7 @@ case "$COMMAND" in "examples-ios") workspace="examples/ios/objc/RealmExamples.xcworkspace" - pod install --project-directory="$workspace/.." --no-repo-update - examples="Simple TableView Migration Backlink GroupedTableView RACTableView Encryption Draw" + examples="Simple TableView Migration Backlink GroupedTableView Encryption Draw" versions="0 1 2 3 4 5" for example in $examples; do if [ "$example" = "Migration" ]; then diff --git a/examples/ios/objc/Podfile b/examples/ios/objc/Podfile deleted file mode 100644 index 123eb8280c..0000000000 --- a/examples/ios/objc/Podfile +++ /dev/null @@ -1,5 +0,0 @@ -platform :ios, '11.0' - -target 'RACTableView' do - pod 'ReactiveCocoa', :inhibit_warnings => true -end diff --git a/examples/ios/objc/Podfile.lock b/examples/ios/objc/Podfile.lock deleted file mode 100644 index c64999561a..0000000000 --- a/examples/ios/objc/Podfile.lock +++ /dev/null @@ -1,22 +0,0 @@ -PODS: - - ReactiveCocoa (2.5): - - ReactiveCocoa/UI (= 2.5) - - ReactiveCocoa/Core (2.5): - - ReactiveCocoa/no-arc - - ReactiveCocoa/no-arc (2.5) - - ReactiveCocoa/UI (2.5): - - ReactiveCocoa/Core - -DEPENDENCIES: - - ReactiveCocoa - -SPEC REPOS: - trunk: - - ReactiveCocoa - -SPEC CHECKSUMS: - ReactiveCocoa: e2db045570aa97c695e7aa97c2bcab222ae51f4a - -PODFILE CHECKSUM: 461df963d8cea86a1f8e9dfb4a94097fb6c2730a - -COCOAPODS: 1.10.1 diff --git a/examples/ios/objc/RACTableView/AppDelegate.h b/examples/ios/objc/RACTableView/AppDelegate.h deleted file mode 100644 index 8ad572b80d..0000000000 --- a/examples/ios/objc/RACTableView/AppDelegate.h +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -@interface AppDelegate : UIResponder - -@property (strong, nonatomic) UIWindow *window; - -@end diff --git a/examples/ios/objc/RACTableView/AppDelegate.m b/examples/ios/objc/RACTableView/AppDelegate.m deleted file mode 100644 index 157e8b09c1..0000000000 --- a/examples/ios/objc/RACTableView/AppDelegate.m +++ /dev/null @@ -1,34 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "AppDelegate.h" -#import "TableViewController.h" - -@implementation AppDelegate - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions -{ - self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; - - self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController: - [[TableViewController alloc] initWithStyle:UITableViewStylePlain]]; - [self.window makeKeyAndVisible]; - return YES; -} - -@end diff --git a/examples/ios/objc/RACTableView/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/ios/objc/RACTableView/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index b7f3352ee7..0000000000 --- a/examples/ios/objc/RACTableView/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - }, - { - "idiom" : "ipad", - "size" : "29x29", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "40x40", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "76x76", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "76x76", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/ios/objc/RACTableView/Images.xcassets/LaunchImage.launchimage/Contents.json b/examples/ios/objc/RACTableView/Images.xcassets/LaunchImage.launchimage/Contents.json deleted file mode 100644 index 6f870a4629..0000000000 --- a/examples/ios/objc/RACTableView/Images.xcassets/LaunchImage.launchimage/Contents.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "images" : [ - { - "orientation" : "portrait", - "idiom" : "iphone", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "2x" - }, - { - "orientation" : "portrait", - "idiom" : "iphone", - "subtype" : "retina4", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "2x" - }, - { - "orientation" : "portrait", - "idiom" : "ipad", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "1x" - }, - { - "orientation" : "landscape", - "idiom" : "ipad", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "1x" - }, - { - "orientation" : "portrait", - "idiom" : "ipad", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "2x" - }, - { - "orientation" : "landscape", - "idiom" : "ipad", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/ios/objc/RACTableView/Info.plist b/examples/ios/objc/RACTableView/Info.plist deleted file mode 100644 index 5d65aaf39b..0000000000 --- a/examples/ios/objc/RACTableView/Info.plist +++ /dev/null @@ -1,47 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - ${PRODUCT_NAME} - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/ios/objc/RACTableView/TableViewController.h b/examples/ios/objc/RACTableView/TableViewController.h deleted file mode 100644 index 7c528ba9a3..0000000000 --- a/examples/ios/objc/RACTableView/TableViewController.h +++ /dev/null @@ -1,23 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -@interface TableViewController : UITableViewController - -@end diff --git a/examples/ios/objc/RACTableView/TableViewController.m b/examples/ios/objc/RACTableView/TableViewController.m deleted file mode 100644 index d9ec67efc4..0000000000 --- a/examples/ios/objc/RACTableView/TableViewController.m +++ /dev/null @@ -1,256 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2015 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "TableViewController.h" - -#import -#import - -// Data models: GroupParent contains all of the data for a TableView, with a -// Group per section and an Entry per row in each section -RLM_COLLECTION_TYPE(Entry) -RLM_COLLECTION_TYPE(Group) - -@interface Entry : RLMObject -@property (nonatomic, strong) NSString *title; -@property (nonatomic, strong) NSDate *date; -@end - -@interface Group : RLMObject -@property (nonatomic, strong) NSString *name; -@property (nonatomic, strong) RLMArray *entries; -@end - -@interface GroupParent : RLMObject -@property (nonatomic, strong) RLMArray *groups; -@end - -@implementation Entry -// Nothing needed -@end -@implementation Group -// Nothing needed -@end -@implementation GroupParent -// Nothing needed -@end - -@interface Cell : UITableViewCell -@property (nonatomic, strong) Entry *entry; -@end - -@implementation Cell -- (instancetype)initWithStyle:(__unused UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier { - return self = [super initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:reuseIdentifier]; -} - -- (void)attach:(Entry *)entry { - // If this is the first time this Cell is used, bind its UILabels to the - // fields of its Entry. If it's been used before, the existing bindings - // will continue to work - if (self.entry == nil) { - RAC(self.textLabel, text) = RACObserve(self, entry.title); - RAC(self.detailTextLabel, text) = [RACObserve(self, entry.date) map:^(NSDate *date) { return date.description; }]; - } - self.entry = entry; -} -@end - -@interface TableViewController () -@property (nonatomic, strong) GroupParent *parent; -@end - -@implementation TableViewController - -#pragma mark - View Lifecycle - -- (void)viewDidLoad { - [super viewDidLoad]; - - // Get the singleton GroupParent object from the Realm, creating it - // if needed. In a more complete example with more than one view, this - // would be supplied as the data source by whatever is displaying this - // table view - self.parent = GroupParent.allObjects.firstObject; - if (!self.parent) { - self.parent = [GroupParent new]; - RLMRealm *realm = RLMRealm.defaultRealm; - [realm transactionWithBlock:^{ - [realm addObject:self.parent]; - }]; - } - - [self setupUI]; - [self.tableView reloadData]; -} - -#pragma mark - UI - -- (void)setupUI { - [self.tableView registerClass:[Cell class] forCellReuseIdentifier:@"cell"]; - self.title = @"ReactiveCocoa GroupedTableView"; - - RACCommand *addGroup = [[RACCommand alloc] initWithSignalBlock:^(id unused) { - [self modifyInBackground:^(RLMArray *groups) { - NSString *name = [NSString stringWithFormat:@"Group %d", (int)arc4random()]; - [groups addObject:[Group createInDefaultRealmWithValue:@[name, @[]]]]; - }]; - return [RACSignal empty]; - }]; - - RACCommand *addEntry = [[RACCommand alloc] - initWithEnabled:[RACObserve(self.parent, groups) map:^(RLMArray *groups) { - return @(groups.count > 0); - }] - signalBlock:^(id unused) { - [self modifyInBackground:^(RLMArray *groups) { - Group *group = groups[arc4random_uniform((uint32_t)groups.count)]; - NSString *name = [NSString stringWithFormat:@"Entry %d", (int)arc4random()]; - [group.entries addObject:[Entry createInDefaultRealmWithValue:@[name, NSDate.date]]]; - }]; - return [RACSignal empty]; - }]; - - self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Add Group" - style:UIBarButtonItemStylePlain - target:nil action:nil]; - self.navigationItem.leftBarButtonItem.rac_command = addGroup; - self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd - target:nil action:nil]; - self.navigationItem.rightBarButtonItem.rac_command = addEntry; - - // Subscribe to changes to the list of groups, telling the TableView to - // insert new sections when new groups are added to the list - @weakify(self); - [[self.parent rac_valuesAndChangesForKeyPath:@"groups" options:0 observer:self] - subscribeNext:^(RACTuple *info) { // tuple is value, change dictionary - @strongify(self); - NSDictionary *change = info.second; - NSKeyValueChange kind = [change[NSKeyValueChangeKindKey] intValue]; - NSIndexSet *indexes = change[NSKeyValueChangeIndexesKey]; - if (indexes && kind == NSKeyValueChangeInsertion) { - [self.tableView insertSections:indexes withRowAnimation:UITableViewRowAnimationAutomatic]; - [self bindGroup:self.parent.groups.lastObject]; - } - else { - [self.tableView reloadData]; - } - }]; - - for (Group *group in self.parent.groups) { - [self bindGroup:group]; - } -} - -#pragma mark - UITableViewDataSource - -- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { - return self.parent.groups.count; -} - -- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section { - return [self.parent.groups[section] name]; -} - -- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { - return [self.parent.groups[section] entries].count; -} - -- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { - Cell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"]; - [cell attach:[self objectForIndexPath:indexPath]]; - return cell; -} - -- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { - if (editingStyle == UITableViewCellEditingStyleDelete) { - RLMRealm *realm = RLMRealm.defaultRealm; - [realm beginWriteTransaction]; - [realm deleteObject:[self objectForIndexPath:indexPath]]; - [realm commitWriteTransaction]; - } -} - -- (void)tableView:(UITableView *)tableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath { - // Update the date of any row selected in the UI. The display of the date - // in the UI is automatically updated by the binding estabished in Cell.attach - RLMRealm *realm = RLMRealm.defaultRealm; - [realm transactionWithBlock:^{ - [self objectForIndexPath:indexPath].date = NSDate.date; - }]; -} - -#pragma - Helpers - -// Get the Entry at a given index path -- (Entry *)objectForIndexPath:(NSIndexPath *)indexPath { - return self.parent.groups[indexPath.section].entries[indexPath.row]; -} - -// Convert an NSIndexSet to an array of NSIndexPaths -- (NSArray *)indexSetToIndexPathArray:(NSIndexSet *)indexes section:(NSInteger)section { - NSMutableArray *paths = [NSMutableArray arrayWithCapacity:indexes.count]; - NSUInteger index = [indexes firstIndex]; - while (index != NSNotFound) { - [paths addObject:[NSIndexPath indexPathForRow:index inSection:section]]; - index = [indexes indexGreaterThanIndex:index]; - } - return paths; -} - -- (void)modifyInBackground:(void (^)(RLMArray *))block { - dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ - @autoreleasepool { - GroupParent *parent = GroupParent.allObjects.firstObject; - [parent.realm beginWriteTransaction]; - block(parent.groups); - [parent.realm commitWriteTransaction]; - } - }); -} - -// Listen for changes to the list of entries in a Group, and tell the UI to -// update when entries are added or removed -- (void)bindGroup:(Group *)group { - @weakify(self); - [[group rac_valuesAndChangesForKeyPath:@"entries" options:0 observer:self] - subscribeNext:^(RACTuple *info) { // tuple is value, change dictionary - @strongify(self); - NSDictionary *change = info.second; - NSKeyValueChange kind = [change[NSKeyValueChangeKindKey] intValue]; - NSIndexSet *indexes = change[NSKeyValueChangeIndexesKey]; - - if (indexes) { - NSInteger section = [self.parent.groups indexOfObject:group]; - NSArray *paths = [self indexSetToIndexPathArray:indexes section:section]; - if (kind == NSKeyValueChangeInsertion) { - [self.tableView insertRowsAtIndexPaths:paths withRowAnimation:UITableViewRowAnimationAutomatic]; - } - else if (kind == NSKeyValueChangeRemoval) { - [self.tableView deleteRowsAtIndexPaths:paths withRowAnimation:UITableViewRowAnimationAutomatic]; - } - else { - [self.tableView reloadData]; - } - } - else { - [self.tableView reloadData]; - } - }]; -} -@end diff --git a/examples/ios/objc/RACTableView/main.m b/examples/ios/objc/RACTableView/main.m deleted file mode 100644 index f43bf72d81..0000000000 --- a/examples/ios/objc/RACTableView/main.m +++ /dev/null @@ -1,28 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -#import "AppDelegate.h" - -int main(int argc, char * argv[]) -{ - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); - } -} diff --git a/examples/ios/objc/RealmExamples.xcodeproj/project.pbxproj b/examples/ios/objc/RealmExamples.xcodeproj/project.pbxproj index 33e1be8038..05fafa3ef5 100644 --- a/examples/ios/objc/RealmExamples.xcodeproj/project.pbxproj +++ b/examples/ios/objc/RealmExamples.xcodeproj/project.pbxproj @@ -65,7 +65,6 @@ C0DC42101A7079D00067156A /* MainInterface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C0DC420F1A7079D00067156A /* MainInterface.storyboard */; }; C0DC42181A707B960067156A /* Tick.m in Sources */ = {isa = PBXBuildFile; fileRef = C0DC41FB1A7072DE0067156A /* Tick.m */; }; C0DC42191A707BF80067156A /* libc++.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = E8F70ED019BA52E8006F60D5 /* libc++.dylib */; }; - C895987FDBFA45AF50225642 /* libPods-RACTableView.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C1FAC448B13A56875E51ABBA /* libPods-RACTableView.a */; }; E879D9CE1A12AA120035E2EB /* libc++.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = E8F70ED019BA52E8006F60D5 /* libc++.dylib */; }; E879D9CF1A12AA120035E2EB /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E8AB71AB19BA502500F3EDB4 /* CoreGraphics.framework */; }; E879D9D01A12AA120035E2EB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E8AB71AD19BA502500F3EDB4 /* UIKit.framework */; }; @@ -193,7 +192,6 @@ 7DD1D7D325DC2C7400E63229 /* default-v3.realm */ = {isa = PBXFileReference; lastKnownFileType = file; path = "default-v3.realm"; sourceTree = ""; }; 7DD1D7D425DC2C7400E63229 /* default-v0.realm */ = {isa = PBXFileReference; lastKnownFileType = file; path = "default-v0.realm"; sourceTree = ""; }; 7DD1D7D525DC2C7400E63229 /* default-v5.realm */ = {isa = PBXFileReference; lastKnownFileType = file; path = "default-v5.realm"; sourceTree = ""; }; - BCC00CB8F0405D9A0E8A33E2 /* Pods-RACTableView.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RACTableView.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RACTableView/Pods-RACTableView.debug.xcconfig"; sourceTree = ""; }; C0DC41CC1A7072670067156A /* extension.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = extension.app; sourceTree = BUILT_PRODUCTS_DIR; }; C0DC41D21A7072670067156A /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; C0DC41D31A7072670067156A /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; @@ -209,8 +207,6 @@ C0DC420F1A7079D00067156A /* MainInterface.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = MainInterface.storyboard; sourceTree = ""; }; C0DC421B1A717B660067156A /* TodayExtension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = TodayExtension.entitlements; sourceTree = ""; }; C0DC421C1A717BD00067156A /* Extension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = Extension.entitlements; sourceTree = ""; }; - C1FAC448B13A56875E51ABBA /* libPods-RACTableView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RACTableView.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - D0E769395C2774DEBC9BBAF8 /* Pods-RACTableView.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RACTableView.release.xcconfig"; path = "Pods/Target Support Files/Pods-RACTableView/Pods-RACTableView.release.xcconfig"; sourceTree = ""; }; E879D9D81A12AA120035E2EB /* GroupedTableView.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GroupedTableView.app; sourceTree = BUILT_PRODUCTS_DIR; }; E879D9DB1A12AA400035E2EB /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; E879D9DC1A12AA400035E2EB /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; @@ -292,7 +288,6 @@ 3F78C9BE1B431CF300A0988E /* Foundation.framework in Frameworks */, 3F78C9BF1B431CF300A0988E /* libc++.dylib in Frameworks */, 3F08726327F3C983007A1175 /* libcompression.tbd in Frameworks */, - C895987FDBFA45AF50225642 /* libPods-RACTableView.a in Frameworks */, 3F78C9C01B431CF300A0988E /* Realm.framework in Frameworks */, 3F78C9C11B431CF300A0988E /* UIKit.framework in Frameworks */, ); @@ -453,15 +448,6 @@ name = RACTableView; sourceTree = ""; }; - 52233CA796AF2EA4A29B84C2 /* Pods */ = { - isa = PBXGroup; - children = ( - BCC00CB8F0405D9A0E8A33E2 /* Pods-RACTableView.debug.xcconfig */, - D0E769395C2774DEBC9BBAF8 /* Pods-RACTableView.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; 7D718BED25DAADE400A74FDD /* Examples */ = { isa = PBXGroup; children = ( @@ -547,7 +533,6 @@ E8AB71A819BA502500F3EDB4 /* Frameworks */, E879D9DA1A12AA400035E2EB /* GroupedTableView */, E8F70EAE19BA50A3006F60D5 /* Migration */, - 52233CA796AF2EA4A29B84C2 /* Pods */, E8AB71A719BA502500F3EDB4 /* Products */, 3F78C9AA1B431CB200A0988E /* RACTableView */, E8F70EA319BA5093006F60D5 /* REST */, @@ -584,7 +569,6 @@ E8F70ED019BA52E8006F60D5 /* libc++.dylib */, F18464511DC1551200DAB8B9 /* libc++.tbd */, 3F08725D27F3C8CF007A1175 /* libcompression.tbd */, - C1FAC448B13A56875E51ABBA /* libPods-RACTableView.a */, C0DC42071A7079D00067156A /* NotificationCenter.framework */, 0295B8FE19D102880036D6C3 /* Realm.framework */, E8AB71AD19BA502500F3EDB4 /* UIKit.framework */, @@ -718,7 +702,6 @@ isa = PBXNativeTarget; buildConfigurationList = 3F78C9C41B431CF300A0988E /* Build configuration list for PBXNativeTarget "RACTableView" */; buildPhases = ( - CDFC500ABD9C1292B3084DB9 /* [CP] Check Pods Manifest.lock */, 3F78C9B81B431CF300A0988E /* Sources */, 3F78C9BC1B431CF300A0988E /* Frameworks */, 3F78C9C21B431CF300A0988E /* Resources */, @@ -1077,24 +1060,6 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - CDFC500ABD9C1292B3084DB9 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-RACTableView-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; F18DC0A41DC2B197007D2D69 /* Get Device IP Address */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -1236,7 +1201,6 @@ /* Begin XCBuildConfiguration section */ 3F78C9C51B431CF300A0988E /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = BCC00CB8F0405D9A0E8A33E2 /* Pods-RACTableView.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -1260,7 +1224,6 @@ }; 3F78C9C61B431CF300A0988E /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D0E769395C2774DEBC9BBAF8 /* Pods-RACTableView.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; From b591e0f45627209f11d9ad5c3c30d6d55dec3481 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 28 Jun 2023 08:31:29 -0700 Subject: [PATCH 2/3] Bump the deployment target on examples to iOS 12 --- .../project.pbxproj | 4 ++-- .../CocoaPodsExample.xcodeproj/project.pbxproj | 4 ++-- .../CocoaPodsExample.xcodeproj/project.pbxproj | 8 ++++---- .../CarthageExample.xcodeproj/project.pbxproj | 4 ++-- .../project.pbxproj | 4 ++-- .../CocoaPodsExample.xcodeproj/project.pbxproj | 4 ++-- .../DynamicExample.xcodeproj/project.pbxproj | 4 ++-- .../StaticExample.xcodeproj/project.pbxproj | 4 ++-- .../XCFrameworkExample.xcodeproj/project.pbxproj | 4 ++-- .../CarthageExample.xcodeproj/project.pbxproj | 4 ++-- .../CocoaPodsExample.xcodeproj/project.pbxproj | 4 ++-- .../DynamicExample.xcodeproj/project.pbxproj | 4 ++-- .../swift/SwiftPackageManagerExample/project.pbxproj | 4 ++-- .../XCFrameworkExample.xcodeproj/project.pbxproj | 4 ++-- .../CarthageExample.xcodeproj/project.pbxproj | 8 ++++---- .../CocoaPodsExample.xcodeproj/project.pbxproj | 8 ++++---- .../DynamicExample.xcodeproj/project.pbxproj | 8 ++++---- .../XCFrameworkExample.xcodeproj/project.pbxproj | 8 ++++---- .../CarthageExample.xcodeproj/project.pbxproj | 8 ++++---- .../CocoaPodsExample.xcodeproj/project.pbxproj | 8 ++++---- .../DynamicExample.xcodeproj/project.pbxproj | 8 ++++---- .../XCFrameworkExample.xcodeproj/project.pbxproj | 8 ++++---- .../ios/objc/RealmExamples.xcodeproj/project.pbxproj | 12 ++++++------ .../swift/RealmExamples.xcodeproj/project.pbxproj | 8 ++++---- 24 files changed, 72 insertions(+), 72 deletions(-) diff --git a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj b/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj index 0d247cc186..86dc6150a3 100644 --- a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj +++ b/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj @@ -424,7 +424,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MACOSX_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; @@ -472,7 +472,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MACOSX_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; diff --git a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj b/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj index 9f64383f83..f78c0800ac 100644 --- a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj +++ b/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj @@ -386,7 +386,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MACOSX_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; @@ -434,7 +434,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MACOSX_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; diff --git a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj b/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj index b84a61b7e8..1c606b5b04 100644 --- a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj +++ b/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj @@ -423,7 +423,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MACOSX_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; @@ -472,7 +472,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MACOSX_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; @@ -488,7 +488,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = CocoaPodsExample/CocoaPodsExample.entitlements; INFOPLIST_FILE = CocoaPodsExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -505,7 +505,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = CocoaPodsExample/CocoaPodsExample.entitlements; INFOPLIST_FILE = CocoaPodsExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/examples/installation/ios/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj b/examples/installation/ios/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj index 5a84206031..52bc68b89e 100644 --- a/examples/installation/ios/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj +++ b/examples/installation/ios/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj @@ -353,7 +353,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -402,7 +402,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; diff --git a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj b/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj index 4885aa5cf3..b7aaa99c52 100644 --- a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj +++ b/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj @@ -422,7 +422,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -470,7 +470,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; diff --git a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj b/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj index a02924bf5b..bd9024fd41 100644 --- a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj +++ b/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj @@ -384,7 +384,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -432,7 +432,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; diff --git a/examples/installation/ios/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj b/examples/installation/ios/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj index a5661fd330..3364dc433a 100644 --- a/examples/installation/ios/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj +++ b/examples/installation/ios/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj @@ -333,7 +333,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -382,7 +382,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; diff --git a/examples/installation/ios/objc/StaticExample/StaticExample.xcodeproj/project.pbxproj b/examples/installation/ios/objc/StaticExample/StaticExample.xcodeproj/project.pbxproj index 72f0345516..d767273efd 100644 --- a/examples/installation/ios/objc/StaticExample/StaticExample.xcodeproj/project.pbxproj +++ b/examples/installation/ios/objc/StaticExample/StaticExample.xcodeproj/project.pbxproj @@ -334,7 +334,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -382,7 +382,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; diff --git a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj b/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj index e93ad09fa6..f660fa8a74 100644 --- a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj +++ b/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj @@ -332,7 +332,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -381,7 +381,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; diff --git a/examples/installation/ios/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj b/examples/installation/ios/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj index 100c7d15cd..d1f9a493c7 100644 --- a/examples/installation/ios/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj +++ b/examples/installation/ios/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj @@ -354,7 +354,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -404,7 +404,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_COMPILATION_MODE = wholemodule; diff --git a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj b/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj index 745d4e6d31..2003f54d02 100644 --- a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj +++ b/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj @@ -422,7 +422,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -471,7 +471,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_COMPILATION_MODE = wholemodule; diff --git a/examples/installation/ios/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj b/examples/installation/ios/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj index dd70a17ccf..9b3819580d 100644 --- a/examples/installation/ios/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj +++ b/examples/installation/ios/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj @@ -334,7 +334,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -384,7 +384,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; diff --git a/examples/installation/ios/swift/SwiftPackageManagerExample/project.pbxproj b/examples/installation/ios/swift/SwiftPackageManagerExample/project.pbxproj index f1ab9a3a0d..59c79a469d 100644 --- a/examples/installation/ios/swift/SwiftPackageManagerExample/project.pbxproj +++ b/examples/installation/ios/swift/SwiftPackageManagerExample/project.pbxproj @@ -370,7 +370,7 @@ CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = QX5CR2FTN2; INFOPLIST_FILE = SwiftPackageManagerExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -389,7 +389,7 @@ CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = QX5CR2FTN2; INFOPLIST_FILE = SwiftPackageManagerExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj b/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj index 4d30593f31..645453e434 100644 --- a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj +++ b/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj @@ -330,7 +330,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -381,7 +381,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_COMPILATION_MODE = wholemodule; diff --git a/examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj b/examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj index a9294a24d5..2d066cfec4 100644 --- a/examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj +++ b/examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj @@ -445,7 +445,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -464,7 +464,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; @@ -479,7 +479,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -494,7 +494,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; diff --git a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj b/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj index b6af67a424..3c9399a9e8 100644 --- a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj +++ b/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj @@ -500,7 +500,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -516,7 +516,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; @@ -532,7 +532,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -548,7 +548,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; diff --git a/examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj b/examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj index 039dd5cafd..7440de62eb 100644 --- a/examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj +++ b/examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj @@ -432,7 +432,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -447,7 +447,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; @@ -462,7 +462,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -477,7 +477,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; diff --git a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj b/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj index f2f4e2556e..2709facd0d 100644 --- a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj +++ b/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj @@ -437,7 +437,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -455,7 +455,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; @@ -470,7 +470,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -485,7 +485,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; diff --git a/examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj b/examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj index e888dd348a..689283349f 100644 --- a/examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj +++ b/examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj @@ -454,7 +454,7 @@ SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -474,7 +474,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; @@ -490,7 +490,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -506,7 +506,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; diff --git a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj b/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj index 45d68a1740..52c7055d41 100644 --- a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj +++ b/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj @@ -497,7 +497,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -516,7 +516,7 @@ SKIP_INSTALL = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; @@ -534,7 +534,7 @@ SKIP_INSTALL = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -552,7 +552,7 @@ SKIP_INSTALL = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; diff --git a/examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj b/examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj index bf73d3c6e7..33640460ca 100644 --- a/examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj +++ b/examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj @@ -442,7 +442,7 @@ SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -458,7 +458,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; @@ -474,7 +474,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -490,7 +490,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; diff --git a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj b/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj index 9ed80a7847..74bee927ac 100644 --- a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj +++ b/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj @@ -446,7 +446,7 @@ SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -465,7 +465,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; @@ -481,7 +481,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Debug; }; @@ -497,7 +497,7 @@ SDKROOT = watchos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 5.0; }; name = Release; }; diff --git a/examples/ios/objc/RealmExamples.xcodeproj/project.pbxproj b/examples/ios/objc/RealmExamples.xcodeproj/project.pbxproj index 05fafa3ef5..22022bc701 100644 --- a/examples/ios/objc/RealmExamples.xcodeproj/project.pbxproj +++ b/examples/ios/objc/RealmExamples.xcodeproj/project.pbxproj @@ -1256,7 +1256,7 @@ "$(inherited)", ); INFOPLIST_FILE = Extension/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MTL_ENABLE_DEBUG_INFO = YES; PRODUCT_BUNDLE_IDENTIFIER = "io.realm.examples.$(PRODUCT_NAME:rfc1034identifier)"; @@ -1276,7 +1276,7 @@ DEVELOPMENT_TEAM = ""; ENABLE_STRICT_OBJC_MSGSEND = YES; INFOPLIST_FILE = Extension/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MTL_ENABLE_DEBUG_INFO = NO; PRODUCT_BUNDLE_IDENTIFIER = "io.realm.examples.$(PRODUCT_NAME:rfc1034identifier)"; @@ -1299,7 +1299,7 @@ "$(inherited)", ); INFOPLIST_FILE = TodayExtension/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; MTL_ENABLE_DEBUG_INFO = YES; PRODUCT_BUNDLE_IDENTIFIER = "io.realm.examples.extension.$(PRODUCT_NAME:rfc1034identifier)-2"; @@ -1319,7 +1319,7 @@ DEVELOPMENT_TEAM = ""; ENABLE_STRICT_OBJC_MSGSEND = YES; INFOPLIST_FILE = TodayExtension/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; MTL_ENABLE_DEBUG_INFO = NO; PRODUCT_BUNDLE_IDENTIFIER = "io.realm.examples.extension.$(PRODUCT_NAME:rfc1034identifier)-2"; @@ -1421,7 +1421,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = "-lz"; SDKROOT = iphoneos; @@ -1472,7 +1472,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; OTHER_LDFLAGS = "-lz"; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; diff --git a/examples/ios/swift/RealmExamples.xcodeproj/project.pbxproj b/examples/ios/swift/RealmExamples.xcodeproj/project.pbxproj index e9f2d46045..ef928c46e6 100644 --- a/examples/ios/swift/RealmExamples.xcodeproj/project.pbxproj +++ b/examples/ios/swift/RealmExamples.xcodeproj/project.pbxproj @@ -1961,7 +1961,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -2011,7 +2011,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; @@ -2176,7 +2176,7 @@ "$(inherited)", ); INFOPLIST_FILE = Backlink/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "io.realm.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -2188,7 +2188,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = Backlink/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "io.realm.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = "$(TARGET_NAME)"; From 7cc3b608aceb1cf850845eb5fdb9de67901ebbd1 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 28 Jun 2023 15:05:43 -0700 Subject: [PATCH 3/3] Rework the installation examples The installation examples were originally created when there was just iOS and macOS and cross-platform Apps weren't a thing, and the approach that worked then has turned into a giant mess. Consolidating (almost) all the installation tests into a single codebase with separate project files per installation method cuts the amount of code involved by 90% and makes adding more platforms relatively painles cuts the amount of code involved by 90% and makes adding more platforms relatively painless. Separate obj-c and Swift tests have not proven to have any value. We've never had any bugs caught specifically by the obj-c test which wasn't also caught by the swift test other than ones specifically related to the obj-c release zip, so now everything except for the obj-c only iOS static framework is tested only via Swift. Some of the tests ended up just plain being redundant; we had separate XCFramework and fat framework tests, but then the fat framework tests had to be ported to use XCFrameworks. Running the smoke tests in the simulator has never actually caught a bug and doubles the amount of things to build (and adds the requirement to reset the simulators, which takes a while), so ditch that and only test archiving the app for device. The CocoaPods transitive dependency test is now done as part of the normal cocoapods tests rather than a separate one. All platforms are now tested via Xcode SPM rather than only iOS. tvOS is now tested for all installation methods (previously it was not tested at all due to how much of a hassle adding platforms was). visionOS is now tested when using Xcode 15 (i.e. it still isn't actually tested on CI). --- .jenkins.yml | 26 +- Jenkinsfile.releasability | 83 +-- build.sh | 117 +-- examples/installation/.gitignore | 1 + .../Carthage.xcodeproj/project.pbxproj | 391 ++++++++++ .../CocoaPods.xcodeproj/project.pbxproj | 449 ++++++++++++ .../contents.xcworkspacedata | 10 + .../xcshareddata/IDEWorkspaceChecks.plist} | 4 +- examples/installation/Podfile | 27 + .../AccentColor.colorset/Contents.json | 0 .../AppIcon.appiconset/Contents.json | 63 ++ .../Assets.xcassets/Contents.json | 0 .../AppDelegate.h => Source/ObjCImport.m} | 8 +- .../Preview Assets.xcassets/Contents.json | 0 .../SwiftExample.entitlements} | 8 +- .../SwiftExampleApp.swift} | 17 +- .../StaticExample.xcodeproj/project.pbxproj | 175 +---- .../xcschemes/StaticExample.xcscheme | 0 .../StaticExample/Base.lproj/LaunchScreen.xib | 0 .../StaticExample}/Base.lproj/Main.storyboard | 0 .../AppIcon.appiconset/Contents.json | 0 .../StaticExample}/Info.plist | 0 .../StaticExample/main.m} | 21 +- .../installation/SubRealm/SubRealm.podspec | 16 + .../Source => SubRealm}/SubRealm.swift | 2 +- .../installation/SwiftPMExample/.gitignore | 4 - .../installation/SwiftPMExample/Package.swift | 18 - .../Sources/SwiftPMExample/main.swift | 13 - .../SwiftPMExampleTests.swift | 40 - .../project.pbxproj | 399 ++++++++++ .../XCFramework.xcodeproj/project.pbxproj | 391 ++++++++++ examples/installation/build.rb | 241 +++++++ examples/installation/build.sh | 234 ------ .../project.pbxproj | 576 --------------- .../CocoaPodsDynamicExample/AppDelegate.h | 29 - .../CocoaPodsDynamicExample/AppDelegate.m | 30 - .../Base.lproj/LaunchScreen.xib | 41 -- .../CocoaPodsDynamicExample/ViewController.h | 25 - .../CocoaPodsDynamicExample/ViewController.m | 37 - .../CocoaPodsDynamicExample/main.m | 26 - .../CocoaPodsDynamicExampleTests.m | 32 - .../CocoaPodsDynamicExampleTests/Info.plist | 24 - .../objc/CocoaPodsDynamicExample/Podfile | 13 - .../project.pbxproj | 538 -------------- .../CocoaPodsExample/AppDelegate.h | 29 - .../CocoaPodsExample/AppDelegate.m | 30 - .../Base.lproj/LaunchScreen.xib | 41 -- .../Base.lproj/Main.storyboard | 25 - .../AppIcon.appiconset/Contents.json | 38 - .../CocoaPodsExample/Info.plist | 40 - .../CocoaPodsExample/ViewController.h | 25 - .../CocoaPodsExample/ViewController.m | 37 - .../CocoaPodsExample/CocoaPodsExample/main.m | 26 - .../CocoaPodsExampleTests.m | 32 - .../CocoaPodsExampleTests/Info.plist | 24 - .../catalyst/objc/CocoaPodsExample/Podfile | 20 - .../project.pbxproj | 583 --------------- .../CocoaPodsExample/AppDelegate.swift | 33 - .../Base.lproj/LaunchScreen.xib | 41 -- .../Base.lproj/Main.storyboard | 25 - .../CocoaPodsExample.entitlements | 10 - .../AppIcon.appiconset/Contents.json | 53 -- .../CocoaPodsExample/Info.plist | 40 - .../CocoaPodsExample/ViewController.swift | 34 - .../CocoaPodsExampleTests.swift | 29 - .../CocoaPodsExampleTests/Info.plist | 24 - .../catalyst/swift/CocoaPodsExample/Podfile | 24 - .../CarthageExample.xcodeproj/project.pbxproj | 519 ------------- .../xcschemes/CarthageExample.xcscheme | 116 --- .../CarthageExample/AppDelegate.h | 29 - .../CarthageExample/AppDelegate.m | 30 - .../Base.lproj/LaunchScreen.xib | 41 -- .../Base.lproj/Main.storyboard | 25 - .../AppIcon.appiconset/Contents.json | 38 - .../CarthageExample/Info.plist | 40 - .../CarthageExample/ViewController.h | 25 - .../CarthageExample/ViewController.m | 37 - .../CarthageExample/CarthageExample/main.m | 26 - .../CarthageExampleTests.m | 32 - .../CarthageExampleTests/Info.plist | 24 - .../project.pbxproj | 567 --------------- .../CocoaPodsDynamicExample.xcscheme | 116 --- .../CocoaPodsDynamicExample/AppDelegate.h | 29 - .../CocoaPodsDynamicExample/AppDelegate.m | 30 - .../Base.lproj/LaunchScreen.xib | 41 -- .../Base.lproj/Main.storyboard | 25 - .../AppIcon.appiconset/Contents.json | 38 - .../CocoaPodsDynamicExample/Info.plist | 40 - .../CocoaPodsDynamicExample/ViewController.h | 25 - .../CocoaPodsDynamicExample/ViewController.m | 37 - .../CocoaPodsDynamicExample/main.m | 26 - .../CocoaPodsDynamicExampleTests.m | 32 - .../CocoaPodsDynamicExampleTests/Info.plist | 24 - .../ios/objc/CocoaPodsDynamicExample/Podfile | 13 - .../project.pbxproj | 529 -------------- .../xcschemes/CocoaPodsExample.xcscheme | 116 --- .../CocoaPodsExample/AppDelegate.m | 30 - .../Base.lproj/LaunchScreen.xib | 41 -- .../Base.lproj/Main.storyboard | 25 - .../AppIcon.appiconset/Contents.json | 38 - .../CocoaPodsExample/Info.plist | 40 - .../CocoaPodsExample/ViewController.h | 25 - .../CocoaPodsExample/ViewController.m | 37 - .../CocoaPodsExample/CocoaPodsExample/main.m | 26 - .../CocoaPodsExampleTests.m | 32 - .../CocoaPodsExampleTests/Info.plist | 24 - .../ios/objc/CocoaPodsExample/Podfile | 20 - .../DynamicExample.xcodeproj/project.pbxproj | 485 ------------- .../xcschemes/DynamicExample.xcscheme | 116 --- .../DynamicExample/AppDelegate.h | 29 - .../DynamicExample/AppDelegate.m | 30 - .../Base.lproj/LaunchScreen.xib | 41 -- .../DynamicExample/Base.lproj/Main.storyboard | 25 - .../AppIcon.appiconset/Contents.json | 38 - .../DynamicExample/DynamicExample/Info.plist | 40 - .../DynamicExample/ViewController.h | 25 - .../DynamicExample/ViewController.m | 37 - .../objc/DynamicExample/DynamicExample/main.m | 26 - .../DynamicExampleTests/DynamicExampleTests.m | 32 - .../DynamicExampleTests/Info.plist | 24 - .../StaticExample/StaticExample/AppDelegate.h | 29 - .../StaticExample/StaticExample/AppDelegate.m | 30 - .../StaticExample/Base.lproj/Main.storyboard | 25 - .../AppIcon.appiconset/Contents.json | 38 - .../StaticExample/StaticExample/Info.plist | 40 - .../StaticExample/ViewController.h | 25 - .../StaticExample/ViewController.m | 37 - .../objc/StaticExample/StaticExample/main.m | 26 - .../StaticExampleTests/Info.plist | 24 - .../StaticExampleTests/StaticExampleTests.m | 32 - .../project.pbxproj | 498 ------------- .../xcschemes/XCFrameworkExample.xcscheme | 116 --- .../XCFrameworkExample/AppDelegate.h | 29 - .../XCFrameworkExample/AppDelegate.m | 30 - .../Base.lproj/LaunchScreen.xib | 41 -- .../Base.lproj/Main.storyboard | 25 - .../AppIcon.appiconset/Contents.json | 38 - .../XCFrameworkExample/Info.plist | 40 - .../XCFrameworkExample/ViewController.h | 25 - .../XCFrameworkExample/ViewController.m | 37 - .../XCFrameworkExample/main.m | 26 - .../XCFrameworkExampleTests/Info.plist | 24 - .../XCFrameworkExampleTests.m | 32 - .../CarthageExample.xcodeproj/project.pbxproj | 527 -------------- .../xcschemes/CarthageExample.xcscheme | 116 --- .../CarthageExample/AppDelegate.swift | 33 - .../Base.lproj/LaunchScreen.xib | 41 -- .../Base.lproj/Main.storyboard | 25 - .../AppIcon.appiconset/Contents.json | 38 - .../CarthageExample/Info.plist | 40 - .../CarthageExample/ViewController.swift | 34 - .../CarthageExampleTests.swift | 29 - .../CarthageExampleTests/Info.plist | 24 - .../project.pbxproj | 573 --------------- .../xcschemes/CocoaPodsExample.xcscheme | 116 --- .../CocoaPodsExample/AppDelegate.swift | 33 - .../Base.lproj/LaunchScreen.xib | 41 -- .../Base.lproj/Main.storyboard | 25 - .../AppIcon.appiconset/Contents.json | 38 - .../CocoaPodsExample/Info.plist | 40 - .../CocoaPodsExample/ViewController.swift | 34 - .../CocoaPodsExampleTests.swift | 29 - .../CocoaPodsExampleTests/Info.plist | 24 - .../ios/swift/CocoaPodsExample/Podfile | 24 - .../ios/swift/CocoaPodsSubdependency/Podfile | 25 - .../CocoaPodsSubdependency/SubRealm.podspec | 16 - .../project.pbxproj | 577 --------------- .../AppIcon.appiconset/Contents.json | 13 - .../CocoaPodsSubdependency/ContentView.swift | 47 -- .../CocoaPodsSubdependencyTests.swift | 28 - .../DynamicExample.xcodeproj/project.pbxproj | 492 ------------- .../xcschemes/DynamicExample.xcscheme | 116 --- .../DynamicExample/AppDelegate.swift | 33 - .../Base.lproj/LaunchScreen.xib | 41 -- .../DynamicExample/Base.lproj/Main.storyboard | 25 - .../AppIcon.appiconset/Contents.json | 38 - .../DynamicExample/DynamicExample/Info.plist | 40 - .../DynamicExample/ViewController.swift | 34 - .../DynamicExampleTests.swift | 29 - .../DynamicExampleTests/Info.plist | 24 - .../AppDelegate.swift | 32 - .../AppIcon.appiconset/Contents.json | 98 --- .../Assets.xcassets/Contents.json | 6 - .../Base.lproj/LaunchScreen.storyboard | 25 - .../Base.lproj/Main.storyboard | 24 - .../SwiftPackageManagerExample/Info.plist | 64 -- .../Info.plist | 22 - .../SwiftPackageManagerExampleTests.swift | 30 - .../project.pbxproj | 505 ------------- .../project.pbxproj | 512 ------------- .../xcschemes/XCFrameworkExample.xcscheme | 112 --- .../XCFrameworkExample/AppDelegate.swift | 33 - .../Base.lproj/LaunchScreen.xib | 41 -- .../Base.lproj/Main.storyboard | 25 - .../AppIcon.appiconset/Contents.json | 38 - .../XCFrameworkExample/Info.plist | 40 - .../XCFrameworkExample/ViewController.swift | 22 - .../XCFrameworkExampleTests/Info.plist | 24 - .../XCFrameworkExampleTests.swift | 31 - .../CarthageExample.xcodeproj/project.pbxproj | 498 ------------- .../xcschemes/CarthageExample.xcscheme | 116 --- .../CarthageExample/AppDelegate.h | 27 - .../CarthageExample/AppDelegate.m | 25 - .../Base.lproj/Main.storyboard | 681 ------------------ .../AppIcon.appiconset/Contents.json | 58 -- .../CarthageExample/Info.plist | 34 - .../CarthageExample/ViewController.h | 25 - .../CarthageExample/ViewController.m | 35 - .../CarthageExample/CarthageExample/main.m | 23 - .../CarthageExampleTests.m | 32 - .../CarthageExampleTests/Info.plist | 24 - .../project.pbxproj | 528 -------------- .../xcschemes/CocoaPodsExample.xcscheme | 116 --- .../CocoaPodsExample/AppDelegate.h | 27 - .../CocoaPodsExample/AppDelegate.m | 25 - .../Base.lproj/Main.storyboard | 681 ------------------ .../AppIcon.appiconset/Contents.json | 58 -- .../CocoaPodsExample/Info.plist | 34 - .../CocoaPodsExample/ViewController.h | 25 - .../CocoaPodsExample/ViewController.m | 35 - .../CocoaPodsExample/CocoaPodsExample/main.m | 23 - .../CocoaPodsExampleTests.m | 32 - .../CocoaPodsExampleTests/Info.plist | 24 - .../osx/objc/CocoaPodsExample/Podfile | 20 - .../DynamicExample.xcodeproj/project.pbxproj | 475 ------------ .../xcschemes/DynamicExample.xcscheme | 116 --- .../DynamicExample/AppDelegate.m | 25 - .../DynamicExample/Base.lproj/Main.storyboard | 681 ------------------ .../AppIcon.appiconset/Contents.json | 58 -- .../DynamicExample/DynamicExample/Info.plist | 34 - .../DynamicExample/ViewController.h | 25 - .../DynamicExample/ViewController.m | 35 - .../objc/DynamicExample/DynamicExample/main.m | 23 - .../DynamicExampleTests/DynamicExampleTests.m | 32 - .../DynamicExampleTests/Info.plist | 24 - .../project.pbxproj | 489 ------------- .../xcschemes/XCFrameworkExample.xcscheme | 112 --- .../XCFrameworkExample/AppDelegate.h | 26 - .../XCFrameworkExample/AppDelegate.m | 25 - .../Base.lproj/Main.storyboard | 681 ------------------ .../AppIcon.appiconset/Contents.json | 58 -- .../XCFrameworkExample/Info.plist | 34 - .../XCFrameworkExample/ViewController.h | 25 - .../XCFrameworkExample/ViewController.m | 35 - .../XCFrameworkExample/main.m | 23 - .../XCFrameworkExampleTests/Info.plist | 24 - .../XCFrameworkExampleTests.m | 32 - .../CarthageExample.xcodeproj/project.pbxproj | 506 ------------- .../xcschemes/CarthageExample.xcscheme | 116 --- .../CarthageExample/AppDelegate.swift | 35 - .../Base.lproj/Main.storyboard | 681 ------------------ .../AppIcon.appiconset/Contents.json | 58 -- .../CarthageExample/Info.plist | 34 - .../CarthageExample/ViewController.swift | 36 - .../CarthageExampleTests.swift | 29 - .../CarthageExampleTests/Info.plist | 24 - .../project.pbxproj | 544 -------------- .../xcschemes/CocoaPodsExample.xcscheme | 102 --- .../CocoaPodsExample/AppDelegate.swift | 27 - .../AppIcon.appiconset/Contents.json | 58 -- .../Base.lproj/Main.storyboard | 681 ------------------ .../CocoaPodsExample/Info.plist | 34 - .../CocoaPodsExample/ViewController.swift | 21 - .../CocoaPodsExampleTests.swift | 28 - .../CocoaPodsExampleTests/Info.plist | 24 - .../osx/swift/CocoaPodsExample/Podfile | 24 - .../DynamicExample.xcodeproj/project.pbxproj | 482 ------------- .../xcschemes/DynamicExample.xcscheme | 116 --- .../DynamicExample/AppDelegate.swift | 40 - .../DynamicExample/Base.lproj/Main.storyboard | 681 ------------------ .../AppIcon.appiconset/Contents.json | 58 -- .../DynamicExample/DynamicExample/Info.plist | 34 - .../DynamicExample/ViewController.swift | 36 - .../DynamicExampleTests.swift | 29 - .../DynamicExampleTests/Info.plist | 24 - .../project.pbxproj | 495 ------------- .../xcschemes/XCFrameworkExample.xcscheme | 112 --- .../XCFrameworkExample/AppDelegate.swift | 28 - .../Base.lproj/Main.storyboard | 681 ------------------ .../AppIcon.appiconset/Contents.json | 58 -- .../XCFrameworkExample/Info.plist | 34 - .../XCFrameworkExample/ViewController.swift | 22 - .../XCFrameworkExampleTests/Info.plist | 24 - .../XCFrameworkExampleTests.swift | 30 - .../Base.lproj/Interface.storyboard | 28 - .../CarthageExample WatchKit App/Info.plist | 35 - .../Info.plist | 40 - .../InterfaceController.h | 22 - .../InterfaceController.m | 67 -- .../CarthageExample.xcodeproj/project.pbxproj | 571 --------------- .../xcschemes/CarthageExample.xcscheme | 116 --- .../xcshareddata/xcschemes/iOS.xcscheme | 92 --- .../CarthageExample/Info.plist | 47 -- .../CarthageExample/CarthageExample/main.m | 21 - .../Base.lproj/Interface.storyboard | 28 - .../CocoaPodsExample WatchKit App/Info.plist | 35 - .../Info.plist | 40 - .../InterfaceController.h | 22 - .../InterfaceController.m | 67 -- .../project.pbxproj | 621 ---------------- .../xcschemes/CocoaPodsExample.xcscheme | 142 ---- .../xcshareddata/xcschemes/iOS.xcscheme | 92 --- .../CocoaPodsExample/Info.plist | 47 -- .../CocoaPodsExample/CocoaPodsExample/main.m | 21 - .../watchos/objc/CocoaPodsExample/Podfile | 15 - .../Base.lproj/Interface.storyboard | 28 - .../DynamicExample WatchKit App/Info.plist | 35 - .../Info.plist | 40 - .../InterfaceController.h | 22 - .../InterfaceController.m | 67 -- .../DynamicExample.xcodeproj/project.pbxproj | 548 -------------- .../xcschemes/DynamicExample.xcscheme | 142 ---- .../xcshareddata/xcschemes/iOS.xcscheme | 92 --- .../DynamicExample/DynamicExample/Info.plist | 47 -- .../objc/DynamicExample/DynamicExample/main.m | 21 - .../Base.lproj/Interface.storyboard | 28 - .../Info.plist | 35 - .../Info.plist | 40 - .../InterfaceController.h | 22 - .../InterfaceController.m | 67 -- .../project.pbxproj | 562 --------------- .../xcschemes/XCFrameworkExample.xcscheme | 129 ---- .../xcshareddata/xcschemes/iOS.xcscheme | 88 --- .../XCFrameworkExample/Info.plist | 47 -- .../XCFrameworkExample/main.m | 29 - .../Base.lproj/Interface.storyboard | 28 - .../CarthageExample WatchKit App/Info.plist | 35 - .../Info.plist | 40 - .../InterfaceController.swift | 56 -- .../CarthageExample.xcodeproj/project.pbxproj | 583 --------------- .../xcschemes/CarthageExample.xcscheme | 116 --- .../xcshareddata/xcschemes/iOS.xcscheme | 92 --- .../CarthageExample/Info.plist | 47 -- .../CarthageExample/CarthageExample/main.m | 21 - .../Base.lproj/Interface.storyboard | 28 - .../CocoaPodsExample WatchKit App/Info.plist | 35 - .../Info.plist | 40 - .../InterfaceController.swift | 56 -- .../project.pbxproj | 627 ---------------- .../xcschemes/CocoaPodsExample.xcscheme | 142 ---- .../xcshareddata/xcschemes/iOS.xcscheme | 92 --- .../CocoaPodsExample/Info.plist | 47 -- .../CocoaPodsExample/CocoaPodsExample/main.m | 21 - .../watchos/swift/CocoaPodsExample/Podfile | 16 - .../Base.lproj/Interface.storyboard | 28 - .../DynamicExample WatchKit App/Info.plist | 35 - .../Info.plist | 40 - .../InterfaceController.swift | 56 -- .../DynamicExample.xcodeproj/project.pbxproj | 561 --------------- .../xcschemes/DynamicExample.xcscheme | 142 ---- .../xcshareddata/xcschemes/iOS.xcscheme | 92 --- .../DynamicExample/DynamicExample/Info.plist | 47 -- .../DynamicExample/DynamicExample/main.m | 21 - .../Base.lproj/Interface.storyboard | 28 - .../Info.plist | 35 - .../Info.plist | 40 - .../InterfaceController.swift | 56 -- .../project.pbxproj | 574 --------------- .../xcschemes/XCFrameworkExample.xcscheme | 129 ---- .../xcshareddata/xcschemes/iOS.xcscheme | 88 --- .../XCFrameworkExample/Info.plist | 47 -- .../XCFrameworkExample/main.m | 21 - scripts/pr-ci-matrix.rb | 12 +- 363 files changed, 2105 insertions(+), 34432 deletions(-) create mode 100644 examples/installation/Carthage.xcodeproj/project.pbxproj create mode 100644 examples/installation/CocoaPods.xcodeproj/project.pbxproj create mode 100644 examples/installation/CocoaPods.xcworkspace/contents.xcworkspacedata rename examples/installation/{catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/CocoaPodsDynamicExample.entitlements => CocoaPods.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist} (66%) create mode 100644 examples/installation/Podfile rename examples/installation/{ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency => Source}/Assets.xcassets/AccentColor.colorset/Contents.json (100%) create mode 100644 examples/installation/Source/Assets.xcassets/AppIcon.appiconset/Contents.json rename examples/installation/{ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency => Source}/Assets.xcassets/Contents.json (100%) rename examples/installation/{osx/objc/DynamicExample/DynamicExample/AppDelegate.h => Source/ObjCImport.m} (84%) rename examples/installation/{ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency => Source}/Preview Content/Preview Assets.xcassets/Contents.json (100%) rename examples/installation/{catalyst/objc/CocoaPodsExample/CocoaPodsExample/CocoaPodsExample.entitlements => Source/SwiftExample.entitlements} (58%) rename examples/installation/{ios/swift/CocoaPodsSubdependency/CocoaPodsSubdependency/CocoaPodsSubdependencyApp.swift => Source/SwiftExampleApp.swift} (72%) rename examples/installation/{ios/objc/StaticExample => Static}/StaticExample.xcodeproj/project.pbxproj (64%) rename examples/installation/{ios/objc/StaticExample => Static}/StaticExample.xcodeproj/xcshareddata/xcschemes/StaticExample.xcscheme (100%) rename examples/installation/{ios/objc/StaticExample => Static}/StaticExample/Base.lproj/LaunchScreen.xib (100%) rename examples/installation/{catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample => Static/StaticExample}/Base.lproj/Main.storyboard (100%) rename examples/installation/{catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample => Static/StaticExample}/Images.xcassets/AppIcon.appiconset/Contents.json (100%) rename examples/installation/{catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample => Static/StaticExample}/Info.plist (100%) rename examples/installation/{ios/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.h => Static/StaticExample/main.m} (64%) create mode 100644 examples/installation/SubRealm/SubRealm.podspec rename examples/installation/{ios/swift/CocoapodsSubdependency/Source => SubRealm}/SubRealm.swift (95%) delete mode 100644 examples/installation/SwiftPMExample/.gitignore delete mode 100644 examples/installation/SwiftPMExample/Package.swift delete mode 100644 examples/installation/SwiftPMExample/Sources/SwiftPMExample/main.swift delete mode 100644 examples/installation/SwiftPMExample/Tests/SwiftPMExampleTests/SwiftPMExampleTests.swift create mode 100644 examples/installation/SwiftPackageManager.notxcodeproj/project.pbxproj create mode 100644 examples/installation/XCFramework.xcodeproj/project.pbxproj create mode 100755 examples/installation/build.rb delete mode 100755 examples/installation/build.sh delete mode 100644 examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.h delete mode 100644 examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.m delete mode 100644 examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Base.lproj/LaunchScreen.xib delete mode 100644 examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.h delete mode 100644 examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.m delete mode 100644 examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/main.m delete mode 100644 examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/CocoaPodsDynamicExampleTests.m delete mode 100644 examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/Info.plist delete mode 100644 examples/installation/catalyst/objc/CocoaPodsDynamicExample/Podfile delete mode 100644 examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.h delete mode 100644 examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.m delete mode 100644 examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib delete mode 100644 examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Info.plist delete mode 100644 examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/ViewController.h delete mode 100644 examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/ViewController.m delete mode 100644 examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/main.m delete mode 100644 examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.m delete mode 100644 examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExampleTests/Info.plist delete mode 100644 examples/installation/catalyst/objc/CocoaPodsExample/Podfile delete mode 100644 examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/AppDelegate.swift delete mode 100644 examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib delete mode 100644 examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/CocoaPodsExample.entitlements delete mode 100644 examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Info.plist delete mode 100644 examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/ViewController.swift delete mode 100644 examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.swift delete mode 100644 examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExampleTests/Info.plist delete mode 100644 examples/installation/catalyst/swift/CocoaPodsExample/Podfile delete mode 100644 examples/installation/ios/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/ios/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme delete mode 100644 examples/installation/ios/objc/CarthageExample/CarthageExample/AppDelegate.h delete mode 100644 examples/installation/ios/objc/CarthageExample/CarthageExample/AppDelegate.m delete mode 100644 examples/installation/ios/objc/CarthageExample/CarthageExample/Base.lproj/LaunchScreen.xib delete mode 100644 examples/installation/ios/objc/CarthageExample/CarthageExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/ios/objc/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/ios/objc/CarthageExample/CarthageExample/Info.plist delete mode 100644 examples/installation/ios/objc/CarthageExample/CarthageExample/ViewController.h delete mode 100644 examples/installation/ios/objc/CarthageExample/CarthageExample/ViewController.m delete mode 100644 examples/installation/ios/objc/CarthageExample/CarthageExample/main.m delete mode 100644 examples/installation/ios/objc/CarthageExample/CarthageExampleTests/CarthageExampleTests.m delete mode 100644 examples/installation/ios/objc/CarthageExample/CarthageExampleTests/Info.plist delete mode 100644 examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsDynamicExample.xcscheme delete mode 100644 examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.h delete mode 100644 examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.m delete mode 100644 examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Base.lproj/LaunchScreen.xib delete mode 100644 examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Info.plist delete mode 100644 examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.h delete mode 100644 examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.m delete mode 100644 examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/main.m delete mode 100644 examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/CocoaPodsDynamicExampleTests.m delete mode 100644 examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/Info.plist delete mode 100644 examples/installation/ios/objc/CocoaPodsDynamicExample/Podfile delete mode 100644 examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme delete mode 100644 examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.m delete mode 100644 examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib delete mode 100644 examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Info.plist delete mode 100644 examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/ViewController.h delete mode 100644 examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/ViewController.m delete mode 100644 examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/main.m delete mode 100644 examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.m delete mode 100644 examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExampleTests/Info.plist delete mode 100644 examples/installation/ios/objc/CocoaPodsExample/Podfile delete mode 100644 examples/installation/ios/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/ios/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme delete mode 100644 examples/installation/ios/objc/DynamicExample/DynamicExample/AppDelegate.h delete mode 100644 examples/installation/ios/objc/DynamicExample/DynamicExample/AppDelegate.m delete mode 100644 examples/installation/ios/objc/DynamicExample/DynamicExample/Base.lproj/LaunchScreen.xib delete mode 100644 examples/installation/ios/objc/DynamicExample/DynamicExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/ios/objc/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/ios/objc/DynamicExample/DynamicExample/Info.plist delete mode 100644 examples/installation/ios/objc/DynamicExample/DynamicExample/ViewController.h delete mode 100644 examples/installation/ios/objc/DynamicExample/DynamicExample/ViewController.m delete mode 100644 examples/installation/ios/objc/DynamicExample/DynamicExample/main.m delete mode 100644 examples/installation/ios/objc/DynamicExample/DynamicExampleTests/DynamicExampleTests.m delete mode 100644 examples/installation/ios/objc/DynamicExample/DynamicExampleTests/Info.plist delete mode 100644 examples/installation/ios/objc/StaticExample/StaticExample/AppDelegate.h delete mode 100644 examples/installation/ios/objc/StaticExample/StaticExample/AppDelegate.m delete mode 100644 examples/installation/ios/objc/StaticExample/StaticExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/ios/objc/StaticExample/StaticExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/ios/objc/StaticExample/StaticExample/Info.plist delete mode 100644 examples/installation/ios/objc/StaticExample/StaticExample/ViewController.h delete mode 100644 examples/installation/ios/objc/StaticExample/StaticExample/ViewController.m delete mode 100644 examples/installation/ios/objc/StaticExample/StaticExample/main.m delete mode 100644 examples/installation/ios/objc/StaticExample/StaticExampleTests/Info.plist delete mode 100644 examples/installation/ios/objc/StaticExample/StaticExampleTests/StaticExampleTests.m delete mode 100644 examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme delete mode 100644 examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.h delete mode 100644 examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.m delete mode 100644 examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Base.lproj/LaunchScreen.xib delete mode 100644 examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Info.plist delete mode 100644 examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/ViewController.h delete mode 100644 examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/ViewController.m delete mode 100644 examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/main.m delete mode 100644 examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExampleTests/Info.plist delete mode 100644 examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.m delete mode 100644 examples/installation/ios/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/ios/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme delete mode 100644 examples/installation/ios/swift/CarthageExample/CarthageExample/AppDelegate.swift delete mode 100644 examples/installation/ios/swift/CarthageExample/CarthageExample/Base.lproj/LaunchScreen.xib delete mode 100644 examples/installation/ios/swift/CarthageExample/CarthageExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/ios/swift/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/ios/swift/CarthageExample/CarthageExample/Info.plist delete mode 100644 examples/installation/ios/swift/CarthageExample/CarthageExample/ViewController.swift delete mode 100644 examples/installation/ios/swift/CarthageExample/CarthageExampleTests/CarthageExampleTests.swift delete mode 100644 examples/installation/ios/swift/CarthageExample/CarthageExampleTests/Info.plist delete mode 100644 examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme delete mode 100644 examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/AppDelegate.swift delete mode 100644 examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib delete mode 100644 examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Info.plist delete mode 100644 examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/ViewController.swift delete mode 100644 examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.swift delete mode 100644 examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExampleTests/Info.plist delete mode 100644 examples/installation/ios/swift/CocoaPodsExample/Podfile delete mode 100644 examples/installation/ios/swift/CocoaPodsSubdependency/Podfile delete mode 100644 examples/installation/ios/swift/CocoaPodsSubdependency/SubRealm.podspec delete mode 100644 examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency.xcodeproj/project.pbxproj delete mode 100644 examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency/ContentView.swift delete mode 100644 examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependencyTests/CocoaPodsSubdependencyTests.swift delete mode 100644 examples/installation/ios/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/ios/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme delete mode 100644 examples/installation/ios/swift/DynamicExample/DynamicExample/AppDelegate.swift delete mode 100644 examples/installation/ios/swift/DynamicExample/DynamicExample/Base.lproj/LaunchScreen.xib delete mode 100644 examples/installation/ios/swift/DynamicExample/DynamicExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/ios/swift/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/ios/swift/DynamicExample/DynamicExample/Info.plist delete mode 100644 examples/installation/ios/swift/DynamicExample/DynamicExample/ViewController.swift delete mode 100644 examples/installation/ios/swift/DynamicExample/DynamicExampleTests/DynamicExampleTests.swift delete mode 100644 examples/installation/ios/swift/DynamicExample/DynamicExampleTests/Info.plist delete mode 100644 examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/AppDelegate.swift delete mode 100644 examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Assets.xcassets/Contents.json delete mode 100644 examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Base.lproj/LaunchScreen.storyboard delete mode 100644 examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Info.plist delete mode 100644 examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExampleTests/Info.plist delete mode 100644 examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExampleTests/SwiftPackageManagerExampleTests.swift delete mode 100644 examples/installation/ios/swift/SwiftPackageManagerExample/project.pbxproj delete mode 100644 examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme delete mode 100644 examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/AppDelegate.swift delete mode 100644 examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Base.lproj/LaunchScreen.xib delete mode 100644 examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Info.plist delete mode 100644 examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/ViewController.swift delete mode 100644 examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExampleTests/Info.plist delete mode 100644 examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.swift delete mode 100644 examples/installation/osx/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/osx/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme delete mode 100644 examples/installation/osx/objc/CarthageExample/CarthageExample/AppDelegate.h delete mode 100644 examples/installation/osx/objc/CarthageExample/CarthageExample/AppDelegate.m delete mode 100644 examples/installation/osx/objc/CarthageExample/CarthageExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/osx/objc/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/osx/objc/CarthageExample/CarthageExample/Info.plist delete mode 100644 examples/installation/osx/objc/CarthageExample/CarthageExample/ViewController.h delete mode 100644 examples/installation/osx/objc/CarthageExample/CarthageExample/ViewController.m delete mode 100644 examples/installation/osx/objc/CarthageExample/CarthageExample/main.m delete mode 100644 examples/installation/osx/objc/CarthageExample/CarthageExampleTests/CarthageExampleTests.m delete mode 100644 examples/installation/osx/objc/CarthageExample/CarthageExampleTests/Info.plist delete mode 100644 examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme delete mode 100644 examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.h delete mode 100644 examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.m delete mode 100644 examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/Info.plist delete mode 100644 examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/ViewController.h delete mode 100644 examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/ViewController.m delete mode 100644 examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/main.m delete mode 100644 examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.m delete mode 100644 examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExampleTests/Info.plist delete mode 100644 examples/installation/osx/objc/CocoaPodsExample/Podfile delete mode 100644 examples/installation/osx/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/osx/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme delete mode 100644 examples/installation/osx/objc/DynamicExample/DynamicExample/AppDelegate.m delete mode 100644 examples/installation/osx/objc/DynamicExample/DynamicExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/osx/objc/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/osx/objc/DynamicExample/DynamicExample/Info.plist delete mode 100644 examples/installation/osx/objc/DynamicExample/DynamicExample/ViewController.h delete mode 100644 examples/installation/osx/objc/DynamicExample/DynamicExample/ViewController.m delete mode 100644 examples/installation/osx/objc/DynamicExample/DynamicExample/main.m delete mode 100644 examples/installation/osx/objc/DynamicExample/DynamicExampleTests/DynamicExampleTests.m delete mode 100644 examples/installation/osx/objc/DynamicExample/DynamicExampleTests/Info.plist delete mode 100644 examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme delete mode 100644 examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.h delete mode 100644 examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.m delete mode 100644 examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/Info.plist delete mode 100644 examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/ViewController.h delete mode 100644 examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/ViewController.m delete mode 100644 examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/main.m delete mode 100644 examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExampleTests/Info.plist delete mode 100644 examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.m delete mode 100644 examples/installation/osx/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/osx/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme delete mode 100644 examples/installation/osx/swift/CarthageExample/CarthageExample/AppDelegate.swift delete mode 100644 examples/installation/osx/swift/CarthageExample/CarthageExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/osx/swift/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/osx/swift/CarthageExample/CarthageExample/Info.plist delete mode 100644 examples/installation/osx/swift/CarthageExample/CarthageExample/ViewController.swift delete mode 100644 examples/installation/osx/swift/CarthageExample/CarthageExampleTests/CarthageExampleTests.swift delete mode 100644 examples/installation/osx/swift/CarthageExample/CarthageExampleTests/Info.plist delete mode 100644 examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme delete mode 100644 examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/AppDelegate.swift delete mode 100644 examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/Info.plist delete mode 100644 examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/ViewController.swift delete mode 100644 examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.swift delete mode 100644 examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExampleTests/Info.plist delete mode 100644 examples/installation/osx/swift/CocoaPodsExample/Podfile delete mode 100644 examples/installation/osx/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/osx/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme delete mode 100644 examples/installation/osx/swift/DynamicExample/DynamicExample/AppDelegate.swift delete mode 100644 examples/installation/osx/swift/DynamicExample/DynamicExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/osx/swift/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/osx/swift/DynamicExample/DynamicExample/Info.plist delete mode 100644 examples/installation/osx/swift/DynamicExample/DynamicExample/ViewController.swift delete mode 100644 examples/installation/osx/swift/DynamicExample/DynamicExampleTests/DynamicExampleTests.swift delete mode 100644 examples/installation/osx/swift/DynamicExample/DynamicExampleTests/Info.plist delete mode 100644 examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme delete mode 100644 examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/AppDelegate.swift delete mode 100644 examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard delete mode 100644 examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/Info.plist delete mode 100644 examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/ViewController.swift delete mode 100644 examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExampleTests/Info.plist delete mode 100644 examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.swift delete mode 100644 examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit App/Base.lproj/Interface.storyboard delete mode 100644 examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit App/Info.plist delete mode 100644 examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit Extension/Info.plist delete mode 100644 examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit Extension/InterfaceController.h delete mode 100644 examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit Extension/InterfaceController.m delete mode 100644 examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme delete mode 100644 examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme delete mode 100644 examples/installation/watchos/objc/CarthageExample/CarthageExample/Info.plist delete mode 100644 examples/installation/watchos/objc/CarthageExample/CarthageExample/main.m delete mode 100644 examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit App/Base.lproj/Interface.storyboard delete mode 100644 examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit App/Info.plist delete mode 100644 examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit Extension/Info.plist delete mode 100644 examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit Extension/InterfaceController.h delete mode 100644 examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit Extension/InterfaceController.m delete mode 100644 examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme delete mode 100644 examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme delete mode 100644 examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample/Info.plist delete mode 100644 examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample/main.m delete mode 100644 examples/installation/watchos/objc/CocoaPodsExample/Podfile delete mode 100644 examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit App/Base.lproj/Interface.storyboard delete mode 100644 examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit App/Info.plist delete mode 100644 examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit Extension/Info.plist delete mode 100644 examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit Extension/InterfaceController.h delete mode 100644 examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit Extension/InterfaceController.m delete mode 100644 examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme delete mode 100644 examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme delete mode 100644 examples/installation/watchos/objc/DynamicExample/DynamicExample/Info.plist delete mode 100644 examples/installation/watchos/objc/DynamicExample/DynamicExample/main.m delete mode 100644 examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit App/Base.lproj/Interface.storyboard delete mode 100644 examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit App/Info.plist delete mode 100644 examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit Extension/Info.plist delete mode 100644 examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit Extension/InterfaceController.h delete mode 100644 examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit Extension/InterfaceController.m delete mode 100644 examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme delete mode 100644 examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme delete mode 100644 examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample/Info.plist delete mode 100644 examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample/main.m delete mode 100644 examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit App/Base.lproj/Interface.storyboard delete mode 100644 examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit App/Info.plist delete mode 100644 examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit Extension/Info.plist delete mode 100644 examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit Extension/InterfaceController.swift delete mode 100644 examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme delete mode 100644 examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme delete mode 100644 examples/installation/watchos/swift/CarthageExample/CarthageExample/Info.plist delete mode 100644 examples/installation/watchos/swift/CarthageExample/CarthageExample/main.m delete mode 100644 examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit App/Base.lproj/Interface.storyboard delete mode 100644 examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit App/Info.plist delete mode 100644 examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit Extension/Info.plist delete mode 100644 examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit Extension/InterfaceController.swift delete mode 100644 examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme delete mode 100644 examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme delete mode 100644 examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample/Info.plist delete mode 100644 examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample/main.m delete mode 100644 examples/installation/watchos/swift/CocoaPodsExample/Podfile delete mode 100644 examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit App/Base.lproj/Interface.storyboard delete mode 100644 examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit App/Info.plist delete mode 100644 examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit Extension/Info.plist delete mode 100644 examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit Extension/InterfaceController.swift delete mode 100644 examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme delete mode 100644 examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme delete mode 100644 examples/installation/watchos/swift/DynamicExample/DynamicExample/Info.plist delete mode 100644 examples/installation/watchos/swift/DynamicExample/DynamicExample/main.m delete mode 100644 examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit App/Base.lproj/Interface.storyboard delete mode 100644 examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit App/Info.plist delete mode 100644 examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit Extension/Info.plist delete mode 100644 examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit Extension/InterfaceController.swift delete mode 100644 examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj delete mode 100644 examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme delete mode 100644 examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme delete mode 100644 examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample/Info.plist delete mode 100644 examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample/main.m diff --git a/.jenkins.yml b/.jenkins.yml index 11d7f3eaac..01d91929bf 100644 --- a/.jenkins.yml +++ b/.jenkins.yml @@ -17,7 +17,7 @@ target: - swiftpm-debug - swiftpm-address - swiftpm-thread - - swiftpm-ios + - ios-xcode-spm - ios-static - ios-dynamic - watchos @@ -34,8 +34,9 @@ target: - cocoapods-osx - cocoapods-ios - cocoapods-ios-dynamic - - cocoapods-ios-subdependency - cocoapods-watchos + - cocoapods-tvos + - cocoapods-catalyst - swiftui-ios - swiftui-server-osx configuration: @@ -127,20 +128,35 @@ exclude: - xcode_version: 14.2 target: xcframework + - xcode_version: 14.1 + target: cocoapods-ios + - xcode_version: 14.2 target: cocoapods-ios + - xcode_version: 14.1 + target: cocoapods-ios-dynamic + - xcode_version: 14.2 target: cocoapods-ios-dynamic - xcode_version: 14.1 - target: cocoapods-ios-subdependency + target: cocoapods-watchos - xcode_version: 14.2 - target: cocoapods-ios-subdependency + target: cocoapods-watchos + + - xcode_version: 14.1 + target: cocoapods-tvos - xcode_version: 14.2 - target: cocoapods-watchos + target: cocoapods-tvos + + - xcode_version: 14.1 + target: cocoapods-catalyst + + - xcode_version: 14.2 + target: cocoapods-catalyst - xcode_version: 14.1 target: swiftui-ios diff --git a/Jenkinsfile.releasability b/Jenkinsfile.releasability index c67681ffe0..f8430503cc 100644 --- a/Jenkinsfile.releasability +++ b/Jenkinsfile.releasability @@ -5,30 +5,23 @@ platformNames = ['osx': 'macOS', 'ios': 'iOS', 'watchos': 'watchOS', 'tvos': 'tv carthageXcodeVersion = '14.3.1' docsSwiftVersion = '5.8.1' -def installationTest(platform, test, language) { +def installationTest(platform, test, xcode, language = 'swift', linkage = 'dynamic') { return { node('osx') { deleteDir() unstash 'source' - if (test == "dynamic" || test == "static") { + if (test == "xcframework") { unstash "${language}-packaged" + sh "mv *.zip examples/installation" } sh """ hostname - export REALM_XCODE_VERSION=${carthageXcodeVersion} - archive=\$(echo \$PWD/realm-${language}-*.zip) - + export REALM_XCODE_VERSION='${xcode}' + export REALM_TEST_BRANCH='${sha}' cd examples/installation - if [[ -f \$archive ]]; then - mv \$archive . - unzip realm-${language}-*.zip - rm realm-${language}-*.zip - mv realm-${language}-* realm-${language}-latest - fi - - ./build.sh test-${platform}-${language}-${test} + ./build.rb ${platform} ${test} ${linkage} """ } } @@ -50,22 +43,6 @@ def xcframeworkEvolutionTest() { } } -def spmInstallationTest(platform) { - return { - node('osx') { - deleteDir() - unstash 'source' - - sh """ - hostname - export REALM_XCODE_VERSION=${carthageXcodeVersion} - cd examples/installation - ./build.sh test-${platform}-spm - """ - } - } -} - def doBuild() { stage('prepare') { node('docker') { @@ -82,6 +59,7 @@ def doBuild() { ) stash includes: '**', name: 'source' + stash includes: 'build.sh,scripts/*', name: 'build-scripts' } } @@ -257,17 +235,10 @@ def doBuild() { deleteDir() unstash 'objc-packaged' + unstash 'build-scripts' - def sha = params.sha sh """ hostname - curl -O https://raw.githubusercontent.com/realm/realm-swift/${sha}/build.sh - mkdir -p scripts - curl https://raw.githubusercontent.com/realm/realm-swift/${sha}/scripts/swift-version.sh -o scripts/swift-version.sh - curl https://raw.githubusercontent.com/realm/realm-swift/${sha}/scripts/reset-simulators.sh -o scripts/reset-simulators.sh - curl https://raw.githubusercontent.com/realm/realm-swift/${sha}/scripts/reset-simulators.rb -o scripts/reset-simulators.rb - chmod +x scripts/reset-simulators.rb - sh build.sh package-test-examples-objc """ } @@ -278,17 +249,10 @@ def doBuild() { deleteDir() unstash 'swift-packaged' + unstash 'build-scripts' - def sha = params.sha sh """ hostname - curl -O https://raw.githubusercontent.com/realm/realm-swift/${sha}/build.sh - mkdir -p scripts - curl https://raw.githubusercontent.com/realm/realm-swift/${sha}/scripts/swift-version.sh -o scripts/swift-version.sh - curl https://raw.githubusercontent.com/realm/realm-swift/${sha}/scripts/reset-simulators.sh -o scripts/reset-simulators.sh - curl https://raw.githubusercontent.com/realm/realm-swift/${sha}/scripts/reset-simulators.rb -o scripts/reset-simulators.rb - chmod +x scripts/reset-simulators.rb - sh build.sh package-test-examples-swift """ } @@ -316,30 +280,21 @@ def doBuild() { } ] - for (def platform in ["osx", "ios", "watchos"]) { + for (def platform in ['osx', 'ios', 'watchos', 'tvos', 'catalyst']) { def platformName = platformNames[platform] - for (def test in ["dynamic", "cocoapods", "carthage"]) { - parallelBuilds["Installation - ${platformName} Obj-C ${test}"] = installationTest(platform, test, 'objc') + for (def test in ['xcframework', 'cocoapods', 'carthage', 'spm']) { + if (platform != 'catalyst' || test != 'carthage') { + parallelBuilds["Installation - ${platformName} ${test}"] = installationTest(platform, test, carthageXcodeVersion) + } } + parallelBuilds["Installation - ${platformName} CocoaPods static"] = installationTest(platform, 'cocoapods', carthageXcodeVersion, 'swift', 'static') } - - parallelBuilds["Installation - iOS Obj-C static"] = installationTest('ios', 'static', 'objc') - parallelBuilds["Installation - iOS Obj-C CocoaPods dynamic"] = installationTest('ios', 'cocoapods-dynamic', 'objc') - parallelBuilds["Installation - iOS Swift Package Manager"] = spmInstallationTest('ios') - - parallelBuilds["Installation - Mac Catalyst Obj-C CocoaPods"] = installationTest('catalyst', 'cocoapods', 'objc') - parallelBuilds["Installation - Mac Catalyst Obj-C CocoaPods dynamic"] = installationTest('catalyst', 'cocoapods-dynamic', 'objc') - - for (def platform in ["osx", "ios", "watchos"]) { - def platformName = platformNames[platform] - for (def test in ["dynamic", "cocoapods", "carthage"]) { - parallelBuilds["Installation - ${platformName} Swift ${test}"] = installationTest(platform, test, 'swift') - } + parallelBuilds['Installation - iOS Static'] = installationTest('ios', 'xcframework', carthageXcodeVersion, 'objc', 'static') + parallelBuilds['Installation - XCFramework Evolution'] = xcframeworkEvolutionTest() + for (def version in xcodeVersions) { + parallelBuilds["Installation - Xcode ${version}"] = installationTest('osx', 'xcframework', version) } - parallelBuilds["Installation - Mac Catalyst Swift CocoaPods"] = installationTest('catalyst', 'cocoapods', 'swift') - parallelBuilds["Installation - XCFramework Evolution"] = xcframeworkEvolutionTest() - parallel parallelBuilds } } diff --git a/build.sh b/build.sh index aef5231203..42181361fe 100755 --- a/build.sh +++ b/build.sh @@ -464,18 +464,14 @@ case "$COMMAND" in "verify-xcframework-evolution-mode") export REALM_EXTRA_BUILD_ARGUMENTS="$REALM_EXTRA_BUILD_ARGUMENTS REALM_BUILD_LIBRARY_FOR_DISTRIBUTION=YES" - # set the Xcode version to the oldest - export REALM_XCODE_VERSION=$REALM_XCODE_OLDEST_VERSION - unset REALM_SWIFT_VERSION - sh build.sh xcframework osx - # copy the xcframework to the testing target - rm -rf examples/installation/xcframework-evolution - mkdir examples/installation/xcframework-evolution - cp -cr build/*.xcframework examples/installation/xcframework-evolution - export REALM_XCODE_VERSION=$REALM_XCODE_LATEST_VERSION unset REALM_SWIFT_VERSION + + # Build with the oldest supported Xcode version + REALM_XCODE_VERSION=$REALM_XCODE_OLDEST_VERSION sh build.sh xcframework osx + + # Try to import the built framework using the newest supported version cd examples/installation - sh build.sh "test-osx-swift-xcframework" + REALM_XCODE_VERSION=$REALM_XCODE_LATEST_VERSION ./build.rb osx xcframework exit 0 ;; @@ -583,9 +579,9 @@ case "$COMMAND" in exit 0 ;; - test-swiftpm-ios) + test-ios-xcode-spm) cd examples/installation - sh build.sh test-ios-swift-spm + ./build.rb ios spm exit 0 ;; @@ -658,10 +654,11 @@ case "$COMMAND" in ;; "verify-cocoapods") + export REALM_TEST_BRANCH="$sha" if [[ -d .git ]]; then # Verify the current branch, unless one was already specified in the sha environment variable. if [[ -z $sha ]]; then - export sha=$(git rev-parse --abbrev-ref HEAD) + export REALM_TEST_BRANCH=$(git rev-parse --abbrev-ref HEAD) fi if [[ $(git log -1 '@{push}..') != "" ]] || ! git diff-index --quiet HEAD; then @@ -672,50 +669,24 @@ case "$COMMAND" in fi fi - sh build.sh verify-cocoapods-ios - sh build.sh verify-cocoapods-ios-dynamic - sh build.sh verify-cocoapods-ios-subdependency - sh build.sh verify-cocoapods-osx - sh build.sh verify-cocoapods-watchos - - # https://github.com/CocoaPods/CocoaPods/issues/7708 - export EXPANDED_CODE_SIGN_IDENTITY='' cd examples/installation - sh build.sh test-ios-objc-cocoapods - sh build.sh test-ios-objc-cocoapods-dynamic - sh build.sh test-ios-swift-cocoapods - sh build.sh test-ios-swift-cocoapods-subdependency - sh build.sh test-osx-objc-cocoapods - sh build.sh test-osx-swift-cocoapods - sh build.sh test-catalyst-objc-cocoapods - sh build.sh test-catalyst-objc-cocoapods-dynamic - sh build.sh test-catalyst-swift-cocoapods - sh build.sh test-watchos-objc-cocoapods - sh build.sh test-watchos-swift-cocoapods + ./build.rb ios cocoapods static + ./build.rb ios cocoapods dynamic + ./build.rb osx cocoapods + ./build.rb tvos cocoapods + ./build.rb watchos cocoapods + ./build.rb catalyst cocoapods ;; verify-cocoapods-ios-dynamic) - PLATFORM=$(echo "$COMMAND" | cut -d - -f 3) - # https://github.com/CocoaPods/CocoaPods/issues/7708 - export EXPANDED_CODE_SIGN_IDENTITY='' cd examples/installation - sh build.sh test-ios-objc-cocoapods-dynamic - ;; - - verify-cocoapods-ios-subdependency) - PLATFORM=$(echo "$COMMAND" | cut -d - -f 3) - # https://github.com/CocoaPods/CocoaPods/issues/7708 - export EXPANDED_CODE_SIGN_IDENTITY='' - cd examples/installation - sh build.sh test-ios-swift-cocoapods-subdependency + REALM_TEST_BRANCH="$sha" ./build.rb ios cocoapods ;; verify-cocoapods-*) PLATFORM=$(echo "$COMMAND" | cut -d - -f 3) - # https://github.com/CocoaPods/CocoaPods/issues/7708 - export EXPANDED_CODE_SIGN_IDENTITY='' cd examples/installation - sh build.sh "test-$PLATFORM-swift-cocoapods" + REALM_TEST_BRANCH="$sha" ./build.rb "$PLATFORM" cocoapods ;; "verify-osx-encryption") @@ -735,21 +706,6 @@ case "$COMMAND" in exit 0 ;; - "verify-osx-swift") - sh build.sh test-osx-swift - exit 0 - ;; - - "verify-swiftui-ios") - sh build.sh test-swiftui-ios - exit 0 - ;; - - "verify-swiftui-server-osx") - sh build.sh test-swiftui-server-osx - exit 0 - ;; - "verify-osx-swift-evolution") export REALM_EXTRA_BUILD_ARGUMENTS="$REALM_EXTRA_BUILD_ARGUMENTS REALM_BUILD_LIBRARY_FOR_DISTRIBUTION=YES" sh build.sh test-osx-swift @@ -762,10 +718,6 @@ case "$COMMAND" in sh build.sh examples-ios ;; - "verify-ios-dynamic") - sh build.sh test-ios-dynamic - ;; - "verify-ios-swift") REALM_EXTRA_BUILD_ARGUMENTS="$REALM_EXTRA_BUILD_ARGUMENTS -workspace examples/ios/swift/RealmExamples.xcworkspace" \ sh build.sh test-ios-swift @@ -778,16 +730,6 @@ case "$COMMAND" in exit 0 ;; - "verify-ios-device-objc") - sh build.sh test-ios-devices-objc - exit 0 - ;; - - "verify-ios-device-swift") - sh build.sh test-ios-devices-swift - exit 0 - ;; - "verify-docs") sh build.sh docs for lang in swift objc; do @@ -826,11 +768,6 @@ case "$COMMAND" in exit 0 ;; - "verify-tvos-device") - sh build.sh test-tvos-devices - exit 0 - ;; - "verify-swiftlint") swiftlint lint --strict exit 0 @@ -841,23 +778,13 @@ case "$COMMAND" in exit 0 ;; - "verify-osx-object-server") - sh build.sh test-osx-object-server - exit 0 - ;; - - "verify-catalyst") - sh build.sh test-catalyst - exit 0 - ;; - - "verify-catalyst-swift") - sh build.sh test-catalyst-swift + "verify-xcframework") + sh build.sh xcframework exit 0 ;; - "verify-xcframework") - sh build.sh xcframework + verify-*) + sh build.sh "test-$(echo "$COMMAND" | cut -d - -f 2-)" exit 0 ;; diff --git a/examples/installation/.gitignore b/examples/installation/.gitignore index 9709516bd8..47d2a57a16 100644 --- a/examples/installation/.gitignore +++ b/examples/installation/.gitignore @@ -5,3 +5,4 @@ realm-swift-latest CocoaPodsExample.xcworkspace CocoaPodsDynamicExample.xcworkspace Cartfile.resolved +SwiftPackageManager.xcodeproj diff --git a/examples/installation/Carthage.xcodeproj/project.pbxproj b/examples/installation/Carthage.xcodeproj/project.pbxproj new file mode 100644 index 0000000000..284198ef94 --- /dev/null +++ b/examples/installation/Carthage.xcodeproj/project.pbxproj @@ -0,0 +1,391 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 3F938BA62A4E1886002356FE /* RealmSwift.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F938BA42A4E1886002356FE /* RealmSwift.xcframework */; }; + 3F938BA72A4E1886002356FE /* RealmSwift.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3F938BA42A4E1886002356FE /* RealmSwift.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 3F938BA82A4E1886002356FE /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F938BA52A4E1886002356FE /* Realm.xcframework */; }; + 3F938BA92A4E1886002356FE /* Realm.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3F938BA52A4E1886002356FE /* Realm.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 3FEC917F2A4D41250044BFF5 /* SwiftExampleApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FEC91692A4D3B140044BFF5 /* SwiftExampleApp.swift */; }; + 3FEC91822A4D41250044BFF5 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3FEC916D2A4D3B150044BFF5 /* Assets.xcassets */; }; + 3FEC91832A4D41250044BFF5 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3FEC91712A4D3B150044BFF5 /* Preview Assets.xcassets */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 3F938BAA2A4E1886002356FE /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 3F938BA72A4E1886002356FE /* RealmSwift.xcframework in Embed Frameworks */, + 3F938BA92A4E1886002356FE /* Realm.xcframework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 3F938BA42A4E1886002356FE /* RealmSwift.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = RealmSwift.xcframework; path = Carthage/Build/RealmSwift.xcframework; sourceTree = ""; }; + 3F938BA52A4E1886002356FE /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = Carthage/Build/Realm.xcframework; sourceTree = ""; }; + 3FEC91692A4D3B140044BFF5 /* SwiftExampleApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftExampleApp.swift; sourceTree = ""; }; + 3FEC916D2A4D3B150044BFF5 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 3FEC916F2A4D3B150044BFF5 /* SwiftExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SwiftExample.entitlements; sourceTree = ""; }; + 3FEC91712A4D3B150044BFF5 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 3FEC91872A4D41250044BFF5 /* App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 3FEC91802A4D41250044BFF5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 3F938BA62A4E1886002356FE /* RealmSwift.xcframework in Frameworks */, + 3F938BA82A4E1886002356FE /* Realm.xcframework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 3F938BA32A4E1886002356FE /* Frameworks */ = { + isa = PBXGroup; + children = ( + 3F938BA52A4E1886002356FE /* Realm.xcframework */, + 3F938BA42A4E1886002356FE /* RealmSwift.xcframework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 3FEC915D2A4D3B140044BFF5 = { + isa = PBXGroup; + children = ( + 3FEC91682A4D3B140044BFF5 /* Source */, + 3FEC91672A4D3B140044BFF5 /* Products */, + 3F938BA32A4E1886002356FE /* Frameworks */, + ); + sourceTree = ""; + }; + 3FEC91672A4D3B140044BFF5 /* Products */ = { + isa = PBXGroup; + children = ( + 3FEC91872A4D41250044BFF5 /* App.app */, + ); + name = Products; + sourceTree = ""; + }; + 3FEC91682A4D3B140044BFF5 /* Source */ = { + isa = PBXGroup; + children = ( + 3FEC91702A4D3B150044BFF5 /* Preview Content */, + 3FEC916D2A4D3B150044BFF5 /* Assets.xcassets */, + 3FEC916F2A4D3B150044BFF5 /* SwiftExample.entitlements */, + 3FEC91692A4D3B140044BFF5 /* SwiftExampleApp.swift */, + ); + path = Source; + sourceTree = ""; + }; + 3FEC91702A4D3B150044BFF5 /* Preview Content */ = { + isa = PBXGroup; + children = ( + 3FEC91712A4D3B150044BFF5 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 3FEC917D2A4D41250044BFF5 /* App */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3FEC91842A4D41250044BFF5 /* Build configuration list for PBXNativeTarget "App" */; + buildPhases = ( + 3FEC917E2A4D41250044BFF5 /* Sources */, + 3FEC91802A4D41250044BFF5 /* Frameworks */, + 3FEC91812A4D41250044BFF5 /* Resources */, + 3F938BAA2A4E1886002356FE /* Embed Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = App; + productName = SwiftPM; + productReference = 3FEC91872A4D41250044BFF5 /* App.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 3FEC915E2A4D3B140044BFF5 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1500; + LastUpgradeCheck = 1500; + }; + buildConfigurationList = 3FEC91612A4D3B140044BFF5 /* Build configuration list for PBXProject "Carthage" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 3FEC915D2A4D3B140044BFF5; + productRefGroup = 3FEC91672A4D3B140044BFF5 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 3FEC917D2A4D41250044BFF5 /* App */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 3FEC91812A4D41250044BFF5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3FEC91822A4D41250044BFF5 /* Assets.xcassets in Resources */, + 3FEC91832A4D41250044BFF5 /* Preview Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 3FEC917E2A4D41250044BFF5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3FEC917F2A4D41250044BFF5 /* SwiftExampleApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 3FEC91732A4D3B150044BFF5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 3FEC91742A4D3B150044BFF5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SWIFT_COMPILATION_MODE = wholemodule; + }; + name = Release; + }; + 3FEC91852A4D41250044BFF5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = Source/SwiftExample.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"Source/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 13.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = io.Realm.App; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator watchos watchsimulator"; + SUPPORTS_MACCATALYST = YES; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,3,4,6,7"; + }; + name = Debug; + }; + 3FEC91862A4D41250044BFF5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = Source/SwiftExample.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"Source/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 13.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = io.Realm.App; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator watchos watchsimulator"; + SUPPORTS_MACCATALYST = YES; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,3,4,5,6,7"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 3FEC91612A4D3B140044BFF5 /* Build configuration list for PBXProject "Carthage" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3FEC91732A4D3B150044BFF5 /* Debug */, + 3FEC91742A4D3B150044BFF5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3FEC91842A4D41250044BFF5 /* Build configuration list for PBXNativeTarget "App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3FEC91852A4D41250044BFF5 /* Debug */, + 3FEC91862A4D41250044BFF5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 3FEC915E2A4D3B140044BFF5 /* Project object */; +} diff --git a/examples/installation/CocoaPods.xcodeproj/project.pbxproj b/examples/installation/CocoaPods.xcodeproj/project.pbxproj new file mode 100644 index 0000000000..3947751d09 --- /dev/null +++ b/examples/installation/CocoaPods.xcodeproj/project.pbxproj @@ -0,0 +1,449 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 3FEC917F2A4D41250044BFF5 /* SwiftExampleApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FEC91692A4D3B140044BFF5 /* SwiftExampleApp.swift */; }; + 3FEC91822A4D41250044BFF5 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3FEC916D2A4D3B150044BFF5 /* Assets.xcassets */; }; + 3FEC91832A4D41250044BFF5 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3FEC91712A4D3B150044BFF5 /* Preview Assets.xcassets */; }; + E314772E6D33E037E705FDBB /* Pods_App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 25EBEF352D634D7820A0E2BF /* Pods_App.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 012DB6ABD37FF9723F260762 /* Pods-App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.release.xcconfig"; path = "Target Support Files/Pods-App/Pods-App.release.xcconfig"; sourceTree = ""; }; + 25EBEF352D634D7820A0E2BF /* Pods_App.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_App.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 30696D5AF3299BB30E01E6B6 /* Pods-macOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-macOS.debug.xcconfig"; path = "Target Support Files/Pods-macOS/Pods-macOS.debug.xcconfig"; sourceTree = ""; }; + 3FEC91692A4D3B140044BFF5 /* SwiftExampleApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftExampleApp.swift; sourceTree = ""; }; + 3FEC916D2A4D3B150044BFF5 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 3FEC916F2A4D3B150044BFF5 /* SwiftExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SwiftExample.entitlements; sourceTree = ""; }; + 3FEC91712A4D3B150044BFF5 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 3FEC91872A4D41250044BFF5 /* App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 45A2DE050EFA4D7BE8D8D682 /* Pods-watchOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-watchOS.release.xcconfig"; path = "Target Support Files/Pods-watchOS/Pods-watchOS.release.xcconfig"; sourceTree = ""; }; + 47A9606E545D1C71F51747F9 /* libPods-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 551C4089A220B7CAC99DE535 /* Pods-App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.debug.xcconfig"; path = "Target Support Files/Pods-App/Pods-App.debug.xcconfig"; sourceTree = ""; }; + 611B5C3940ABD898BBC1347B /* Pods-watchOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-watchOS.debug.xcconfig"; path = "Target Support Files/Pods-watchOS/Pods-watchOS.debug.xcconfig"; sourceTree = ""; }; + 6AF03745C896A33FEB088C17 /* Pods-tvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-tvOS.release.xcconfig"; path = "Target Support Files/Pods-tvOS/Pods-tvOS.release.xcconfig"; sourceTree = ""; }; + 83F10638D6B5E68A2535A6B6 /* Pods-iOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOS.debug.xcconfig"; path = "Target Support Files/Pods-iOS/Pods-iOS.debug.xcconfig"; sourceTree = ""; }; + 84848F925DE3E6A4D8A1D337 /* Pods-iOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOS.release.xcconfig"; path = "Target Support Files/Pods-iOS/Pods-iOS.release.xcconfig"; sourceTree = ""; }; + A4D891FC83CF283E80C98471 /* libPods-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + B34B12B11F827A5F60187F42 /* libPods-watchOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-watchOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + BF77A6DAF403942F6695ADFE /* Pods-tvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-tvOS.debug.xcconfig"; path = "Target Support Files/Pods-tvOS/Pods-tvOS.debug.xcconfig"; sourceTree = ""; }; + F8A8C4CE362469BBBBACF8B7 /* Pods-macOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-macOS.release.xcconfig"; path = "Target Support Files/Pods-macOS/Pods-macOS.release.xcconfig"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 3FEC91802A4D41250044BFF5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + E314772E6D33E037E705FDBB /* Pods_App.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 3FEC915D2A4D3B140044BFF5 = { + isa = PBXGroup; + children = ( + 3FEC91682A4D3B140044BFF5 /* Source */, + 3FEC91672A4D3B140044BFF5 /* Products */, + 926A319CC8B885CD63E21B9E /* Pods */, + 9BFD37A5E01011406A863C9A /* Frameworks */, + ); + sourceTree = ""; + }; + 3FEC91672A4D3B140044BFF5 /* Products */ = { + isa = PBXGroup; + children = ( + 3FEC91872A4D41250044BFF5 /* App.app */, + ); + name = Products; + sourceTree = ""; + }; + 3FEC91682A4D3B140044BFF5 /* Source */ = { + isa = PBXGroup; + children = ( + 3FEC91702A4D3B150044BFF5 /* Preview Content */, + 3FEC916D2A4D3B150044BFF5 /* Assets.xcassets */, + 3FEC916F2A4D3B150044BFF5 /* SwiftExample.entitlements */, + 3FEC91692A4D3B140044BFF5 /* SwiftExampleApp.swift */, + ); + path = Source; + sourceTree = ""; + }; + 3FEC91702A4D3B150044BFF5 /* Preview Content */ = { + isa = PBXGroup; + children = ( + 3FEC91712A4D3B150044BFF5 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + 926A319CC8B885CD63E21B9E /* Pods */ = { + isa = PBXGroup; + children = ( + 83F10638D6B5E68A2535A6B6 /* Pods-iOS.debug.xcconfig */, + 84848F925DE3E6A4D8A1D337 /* Pods-iOS.release.xcconfig */, + 30696D5AF3299BB30E01E6B6 /* Pods-macOS.debug.xcconfig */, + F8A8C4CE362469BBBBACF8B7 /* Pods-macOS.release.xcconfig */, + BF77A6DAF403942F6695ADFE /* Pods-tvOS.debug.xcconfig */, + 6AF03745C896A33FEB088C17 /* Pods-tvOS.release.xcconfig */, + 611B5C3940ABD898BBC1347B /* Pods-watchOS.debug.xcconfig */, + 45A2DE050EFA4D7BE8D8D682 /* Pods-watchOS.release.xcconfig */, + 551C4089A220B7CAC99DE535 /* Pods-App.debug.xcconfig */, + 012DB6ABD37FF9723F260762 /* Pods-App.release.xcconfig */, + ); + path = Pods; + sourceTree = ""; + }; + 9BFD37A5E01011406A863C9A /* Frameworks */ = { + isa = PBXGroup; + children = ( + 47A9606E545D1C71F51747F9 /* libPods-macOS.a */, + A4D891FC83CF283E80C98471 /* libPods-tvOS.a */, + B34B12B11F827A5F60187F42 /* libPods-watchOS.a */, + 25EBEF352D634D7820A0E2BF /* Pods_App.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 3FEC917D2A4D41250044BFF5 /* App */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3FEC91842A4D41250044BFF5 /* Build configuration list for PBXNativeTarget "App" */; + buildPhases = ( + B56F1236CC1F04E652F44D86 /* [CP] Check Pods Manifest.lock */, + 3FEC917E2A4D41250044BFF5 /* Sources */, + 3FEC91802A4D41250044BFF5 /* Frameworks */, + 3FEC91812A4D41250044BFF5 /* Resources */, + 3653D19BAAE97F1AB839AD70 /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = App; + productName = SwiftPM; + productReference = 3FEC91872A4D41250044BFF5 /* App.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 3FEC915E2A4D3B140044BFF5 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1500; + LastUpgradeCheck = 1500; + }; + buildConfigurationList = 3FEC91612A4D3B140044BFF5 /* Build configuration list for PBXProject "CocoaPods" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 3FEC915D2A4D3B140044BFF5; + productRefGroup = 3FEC91672A4D3B140044BFF5 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 3FEC917D2A4D41250044BFF5 /* App */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 3FEC91812A4D41250044BFF5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3FEC91822A4D41250044BFF5 /* Assets.xcassets in Resources */, + 3FEC91832A4D41250044BFF5 /* Preview Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 3653D19BAAE97F1AB839AD70 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + B56F1236CC1F04E652F44D86 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-App-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 3FEC917E2A4D41250044BFF5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3FEC917F2A4D41250044BFF5 /* SwiftExampleApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 3FEC91732A4D3B150044BFF5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 3FEC91742A4D3B150044BFF5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SWIFT_COMPILATION_MODE = wholemodule; + }; + name = Release; + }; + 3FEC91852A4D41250044BFF5 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 551C4089A220B7CAC99DE535 /* Pods-App.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = Source/SwiftExample.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"Source/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 13.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = io.Realm.App; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator watchos watchsimulator"; + SUPPORTS_MACCATALYST = YES; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,3,4,6,7"; + }; + name = Debug; + }; + 3FEC91862A4D41250044BFF5 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 012DB6ABD37FF9723F260762 /* Pods-App.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = Source/SwiftExample.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"Source/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 13.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = io.Realm.App; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator watchos watchsimulator"; + SUPPORTS_MACCATALYST = YES; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,3,4,5,6,7"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 3FEC91612A4D3B140044BFF5 /* Build configuration list for PBXProject "CocoaPods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3FEC91732A4D3B150044BFF5 /* Debug */, + 3FEC91742A4D3B150044BFF5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3FEC91842A4D41250044BFF5 /* Build configuration list for PBXNativeTarget "App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3FEC91852A4D41250044BFF5 /* Debug */, + 3FEC91862A4D41250044BFF5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 3FEC915E2A4D3B140044BFF5 /* Project object */; +} diff --git a/examples/installation/CocoaPods.xcworkspace/contents.xcworkspacedata b/examples/installation/CocoaPods.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000000..4dcfa9cf4a --- /dev/null +++ b/examples/installation/CocoaPods.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/CocoaPodsDynamicExample.entitlements b/examples/installation/CocoaPods.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 66% rename from examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/CocoaPodsDynamicExample.entitlements rename to examples/installation/CocoaPods.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist index ee95ab7e58..18d981003d 100644 --- a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/CocoaPodsDynamicExample.entitlements +++ b/examples/installation/CocoaPods.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -2,9 +2,7 @@ - com.apple.security.app-sandbox - - com.apple.security.network.client + IDEDidComputeMac32BitWarning diff --git a/examples/installation/Podfile b/examples/installation/Podfile new file mode 100644 index 0000000000..4977fc4c94 --- /dev/null +++ b/examples/installation/Podfile @@ -0,0 +1,27 @@ +project 'CocoaPods.xcodeproj' +use_modular_headers! + +os = (ENV['REALM_PLATFORM'] || :ios).to_sym +if os == :catalyst + os = :ios +end +version = case os + when :osx then 10.15 + when :ios, :tvos then 12.0 + when :watchos then 5.0 + end +target 'App' do + platform os, version + use_frameworks! unless ENV['REALM_BUILD_STATIC'] + + if ENV['REALM_TEST_RELEASE'] + pod 'RealmSwift', ENV['REALM_TEST_RELEASE'] + elsif ENV['REALM_TEST_BRANCH'] + pod 'Realm', git: 'https://github.com/realm/realm-swift', branch: ENV['REALM_TEST_BRANCH'] + pod 'RealmSwift', git: 'https://github.com/realm/realm-swift', branch: ENV['REALM_TEST_BRANCH'] + else + pod 'RealmSwift' + end + + pod 'SubRealm', path: 'SubRealm' +end diff --git a/examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency/Assets.xcassets/AccentColor.colorset/Contents.json b/examples/installation/Source/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency/Assets.xcassets/AccentColor.colorset/Contents.json rename to examples/installation/Source/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/examples/installation/Source/Assets.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/Source/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000000..532cd729c6 --- /dev/null +++ b/examples/installation/Source/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,63 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "512x512" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "512x512" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency/Assets.xcassets/Contents.json b/examples/installation/Source/Assets.xcassets/Contents.json similarity index 100% rename from examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency/Assets.xcassets/Contents.json rename to examples/installation/Source/Assets.xcassets/Contents.json diff --git a/examples/installation/osx/objc/DynamicExample/DynamicExample/AppDelegate.h b/examples/installation/Source/ObjCImport.m similarity index 84% rename from examples/installation/osx/objc/DynamicExample/DynamicExample/AppDelegate.h rename to examples/installation/Source/ObjCImport.m index f2429e0c1b..b7cf10cd35 100644 --- a/examples/installation/osx/objc/DynamicExample/DynamicExample/AppDelegate.h +++ b/examples/installation/Source/ObjCImport.m @@ -1,6 +1,6 @@ //////////////////////////////////////////////////////////////////////////// // -// Copyright 2014 Realm Inc. +// Copyright 2023 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,11 +16,11 @@ // //////////////////////////////////////////////////////////////////////////// -#import #import -@interface MyModel : RLMObject +@interface ObjcModel : RLMObject +@property (nonatomic) int value; @end -@interface AppDelegate : NSObject +@implementation ObjcModel @end diff --git a/examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency/Preview Content/Preview Assets.xcassets/Contents.json b/examples/installation/Source/Preview Content/Preview Assets.xcassets/Contents.json similarity index 100% rename from examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency/Preview Content/Preview Assets.xcassets/Contents.json rename to examples/installation/Source/Preview Content/Preview Assets.xcassets/Contents.json diff --git a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/CocoaPodsExample.entitlements b/examples/installation/Source/SwiftExample.entitlements similarity index 58% rename from examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/CocoaPodsExample.entitlements rename to examples/installation/Source/SwiftExample.entitlements index ee95ab7e58..f2ef3ae026 100644 --- a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/CocoaPodsExample.entitlements +++ b/examples/installation/Source/SwiftExample.entitlements @@ -2,9 +2,9 @@ - com.apple.security.app-sandbox - - com.apple.security.network.client - + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + diff --git a/examples/installation/ios/swift/CocoaPodsSubdependency/CocoaPodsSubdependency/CocoaPodsSubdependencyApp.swift b/examples/installation/Source/SwiftExampleApp.swift similarity index 72% rename from examples/installation/ios/swift/CocoaPodsSubdependency/CocoaPodsSubdependency/CocoaPodsSubdependencyApp.swift rename to examples/installation/Source/SwiftExampleApp.swift index 361810053e..0a9db6826d 100644 --- a/examples/installation/ios/swift/CocoaPodsSubdependency/CocoaPodsSubdependency/CocoaPodsSubdependencyApp.swift +++ b/examples/installation/Source/SwiftExampleApp.swift @@ -17,12 +17,25 @@ //////////////////////////////////////////////////////////////////////////// import SwiftUI +import RealmSwift + +#if COCOAPODS +import SubRealm +#endif + +class MyModel: Object { + @Persisted var value: Int +} @main -struct CocoaPodsSubdependencyApp: App { +struct SwiftExampleApp: SwiftUI.App { + let realm = try! Realm() +#if COCOAPODS + let subrealm = try! SubRealm.findTestModel() +#endif var body: some Scene { WindowGroup { - ContentView() + Text("Hello, world: \(realm.objects(MyModel.self).count)!") } } } diff --git a/examples/installation/ios/objc/StaticExample/StaticExample.xcodeproj/project.pbxproj b/examples/installation/Static/StaticExample.xcodeproj/project.pbxproj similarity index 64% rename from examples/installation/ios/objc/StaticExample/StaticExample.xcodeproj/project.pbxproj rename to examples/installation/Static/StaticExample.xcodeproj/project.pbxproj index d767273efd..b8a2001617 100644 --- a/examples/installation/ios/objc/StaticExample/StaticExample.xcodeproj/project.pbxproj +++ b/examples/installation/Static/StaticExample.xcodeproj/project.pbxproj @@ -3,50 +3,29 @@ archiveVersion = 1; classes = { }; - objectVersion = 52; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ 3FCABC1F28BE9B9D008C966A /* libcompression.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3FCABC1E28BE9B9C008C966A /* libcompression.tbd */; }; 3FCABC2128BE9BC5008C966A /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3FCABC2028BE9BB3008C966A /* libc++.tbd */; }; - E85A7EEC1AFAAFBF005C839C /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = E88ABBDA1AFAA5D600FA1E1D /* Realm.xcframework */; }; E88ABBB51AFA9DE300FA1E1D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E88ABBB41AFA9DE300FA1E1D /* main.m */; }; - E88ABBB81AFA9DE300FA1E1D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E88ABBB71AFA9DE300FA1E1D /* AppDelegate.m */; }; - E88ABBBB1AFA9DE300FA1E1D /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E88ABBBA1AFA9DE300FA1E1D /* ViewController.m */; }; E88ABBBE1AFA9DE300FA1E1D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E88ABBBC1AFA9DE300FA1E1D /* Main.storyboard */; }; E88ABBC01AFA9DE300FA1E1D /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E88ABBBF1AFA9DE300FA1E1D /* Images.xcassets */; }; E88ABBC31AFA9DE300FA1E1D /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = E88ABBC11AFA9DE300FA1E1D /* LaunchScreen.xib */; }; - E88ABBCF1AFA9DE400FA1E1D /* StaticExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E88ABBCE1AFA9DE400FA1E1D /* StaticExampleTests.m */; }; E88ABBDB1AFAA5D600FA1E1D /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = E88ABBDA1AFAA5D600FA1E1D /* Realm.xcframework */; }; /* End PBXBuildFile section */ -/* Begin PBXContainerItemProxy section */ - E88ABBC91AFA9DE400FA1E1D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E88ABBA71AFA9DE300FA1E1D /* Project object */; - proxyType = 1; - remoteGlobalIDString = E88ABBAE1AFA9DE300FA1E1D; - remoteInfo = StaticExample; - }; -/* End PBXContainerItemProxy section */ - /* Begin PBXFileReference section */ 3FCABC1E28BE9B9C008C966A /* libcompression.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libcompression.tbd; path = usr/lib/libcompression.tbd; sourceTree = SDKROOT; }; 3FCABC2028BE9BB3008C966A /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; E88ABBAF1AFA9DE300FA1E1D /* StaticExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = StaticExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; E88ABBB31AFA9DE300FA1E1D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; E88ABBB41AFA9DE300FA1E1D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E88ABBB61AFA9DE300FA1E1D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - E88ABBB71AFA9DE300FA1E1D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - E88ABBB91AFA9DE300FA1E1D /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - E88ABBBA1AFA9DE300FA1E1D /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; E88ABBBD1AFA9DE300FA1E1D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; E88ABBBF1AFA9DE300FA1E1D /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; E88ABBC21AFA9DE300FA1E1D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - E88ABBC81AFA9DE400FA1E1D /* StaticExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = StaticExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E88ABBCD1AFA9DE400FA1E1D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E88ABBCE1AFA9DE400FA1E1D /* StaticExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StaticExampleTests.m; sourceTree = ""; }; - E88ABBDA1AFAA5D600FA1E1D /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = "../../../realm-objc-latest/ios-static/Realm.xcframework"; sourceTree = ""; }; + E88ABBDA1AFAA5D600FA1E1D /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = "../../../build/ios-static/Realm.xcframework"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -60,14 +39,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - E88ABBC51AFA9DE400FA1E1D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - E85A7EEC1AFAAFBF005C839C /* Realm.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -86,7 +57,6 @@ 3FCABC1D28BE9B9C008C966A /* Frameworks */, E88ABBB01AFA9DE300FA1E1D /* Products */, E88ABBB11AFA9DE300FA1E1D /* StaticExample */, - E88ABBCB1AFA9DE400FA1E1D /* StaticExampleTests */, E88ABBDA1AFAA5D600FA1E1D /* Realm.xcframework */, ); sourceTree = ""; @@ -95,7 +65,6 @@ isa = PBXGroup; children = ( E88ABBAF1AFA9DE300FA1E1D /* StaticExample.app */, - E88ABBC81AFA9DE400FA1E1D /* StaticExampleTests.xctest */, ); name = Products; sourceTree = ""; @@ -103,44 +72,15 @@ E88ABBB11AFA9DE300FA1E1D /* StaticExample */ = { isa = PBXGroup; children = ( - E88ABBB21AFA9DE300FA1E1D /* Supporting Files */, - E88ABBB61AFA9DE300FA1E1D /* AppDelegate.h */, - E88ABBB71AFA9DE300FA1E1D /* AppDelegate.m */, + E88ABBB41AFA9DE300FA1E1D /* main.m */, + E88ABBB31AFA9DE300FA1E1D /* Info.plist */, E88ABBBF1AFA9DE300FA1E1D /* Images.xcassets */, E88ABBC11AFA9DE300FA1E1D /* LaunchScreen.xib */, E88ABBBC1AFA9DE300FA1E1D /* Main.storyboard */, - E88ABBB91AFA9DE300FA1E1D /* ViewController.h */, - E88ABBBA1AFA9DE300FA1E1D /* ViewController.m */, ); path = StaticExample; sourceTree = ""; }; - E88ABBB21AFA9DE300FA1E1D /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E88ABBB31AFA9DE300FA1E1D /* Info.plist */, - E88ABBB41AFA9DE300FA1E1D /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E88ABBCB1AFA9DE400FA1E1D /* StaticExampleTests */ = { - isa = PBXGroup; - children = ( - E88ABBCC1AFA9DE400FA1E1D /* Supporting Files */, - E88ABBCE1AFA9DE400FA1E1D /* StaticExampleTests.m */, - ); - path = StaticExampleTests; - sourceTree = ""; - }; - E88ABBCC1AFA9DE400FA1E1D /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E88ABBCD1AFA9DE400FA1E1D /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -161,24 +101,6 @@ productReference = E88ABBAF1AFA9DE300FA1E1D /* StaticExample.app */; productType = "com.apple.product-type.application"; }; - E88ABBC71AFA9DE400FA1E1D /* StaticExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E88ABBD51AFA9DE400FA1E1D /* Build configuration list for PBXNativeTarget "StaticExampleTests" */; - buildPhases = ( - E88ABBC41AFA9DE400FA1E1D /* Sources */, - E88ABBC51AFA9DE400FA1E1D /* Frameworks */, - E88ABBC61AFA9DE400FA1E1D /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E88ABBCA1AFA9DE400FA1E1D /* PBXTargetDependency */, - ); - name = StaticExampleTests; - productName = StaticExampleTests; - productReference = E88ABBC81AFA9DE400FA1E1D /* StaticExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -191,10 +113,6 @@ E88ABBAE1AFA9DE300FA1E1D = { CreatedOnToolsVersion = 6.3.1; }; - E88ABBC71AFA9DE400FA1E1D = { - CreatedOnToolsVersion = 6.3.1; - TestTargetID = E88ABBAE1AFA9DE300FA1E1D; - }; }; }; buildConfigurationList = E88ABBAA1AFA9DE300FA1E1D /* Build configuration list for PBXProject "StaticExample" */; @@ -212,7 +130,6 @@ projectRoot = ""; targets = ( E88ABBAE1AFA9DE300FA1E1D /* StaticExample */, - E88ABBC71AFA9DE400FA1E1D /* StaticExampleTests */, ); }; /* End PBXProject section */ @@ -228,13 +145,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - E88ABBC61AFA9DE400FA1E1D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -242,30 +152,12 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - E88ABBB81AFA9DE300FA1E1D /* AppDelegate.m in Sources */, E88ABBB51AFA9DE300FA1E1D /* main.m in Sources */, - E88ABBBB1AFA9DE300FA1E1D /* ViewController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E88ABBC41AFA9DE400FA1E1D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E88ABBCF1AFA9DE400FA1E1D /* StaticExampleTests.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ -/* Begin PBXTargetDependency section */ - E88ABBCA1AFA9DE400FA1E1D /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E88ABBAE1AFA9DE300FA1E1D /* StaticExample */; - targetProxy = E88ABBC91AFA9DE400FA1E1D /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - /* Begin PBXVariantGroup section */ E88ABBBC1AFA9DE300FA1E1D /* Main.storyboard */ = { isa = PBXVariantGroup; @@ -427,56 +319,6 @@ }; name = Release; }; - E88ABBD61AFA9DE400FA1E1D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - "../../../realm-objc-latest/ios/static/", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = StaticExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/StaticExample.app/StaticExample"; - USER_HEADER_SEARCH_PATHS = ""; - }; - name = Debug; - }; - E88ABBD71AFA9DE400FA1E1D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - "../../../realm-objc-latest/ios/static/", - ); - INFOPLIST_FILE = StaticExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/StaticExample.app/StaticExample"; - USER_HEADER_SEARCH_PATHS = ""; - }; - name = Release; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -498,15 +340,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - E88ABBD51AFA9DE400FA1E1D /* Build configuration list for PBXNativeTarget "StaticExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E88ABBD61AFA9DE400FA1E1D /* Debug */, - E88ABBD71AFA9DE400FA1E1D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; /* End XCConfigurationList section */ }; rootObject = E88ABBA71AFA9DE300FA1E1D /* Project object */; diff --git a/examples/installation/ios/objc/StaticExample/StaticExample.xcodeproj/xcshareddata/xcschemes/StaticExample.xcscheme b/examples/installation/Static/StaticExample.xcodeproj/xcshareddata/xcschemes/StaticExample.xcscheme similarity index 100% rename from examples/installation/ios/objc/StaticExample/StaticExample.xcodeproj/xcshareddata/xcschemes/StaticExample.xcscheme rename to examples/installation/Static/StaticExample.xcodeproj/xcshareddata/xcschemes/StaticExample.xcscheme diff --git a/examples/installation/ios/objc/StaticExample/StaticExample/Base.lproj/LaunchScreen.xib b/examples/installation/Static/StaticExample/Base.lproj/LaunchScreen.xib similarity index 100% rename from examples/installation/ios/objc/StaticExample/StaticExample/Base.lproj/LaunchScreen.xib rename to examples/installation/Static/StaticExample/Base.lproj/LaunchScreen.xib diff --git a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Base.lproj/Main.storyboard b/examples/installation/Static/StaticExample/Base.lproj/Main.storyboard similarity index 100% rename from examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Base.lproj/Main.storyboard rename to examples/installation/Static/StaticExample/Base.lproj/Main.storyboard diff --git a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/Static/StaticExample/Images.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json rename to examples/installation/Static/StaticExample/Images.xcassets/AppIcon.appiconset/Contents.json diff --git a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Info.plist b/examples/installation/Static/StaticExample/Info.plist similarity index 100% rename from examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Info.plist rename to examples/installation/Static/StaticExample/Info.plist diff --git a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.h b/examples/installation/Static/StaticExample/main.m similarity index 64% rename from examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.h rename to examples/installation/Static/StaticExample/main.m index 411429e6ff..0a30adf205 100644 --- a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.h +++ b/examples/installation/Static/StaticExample/main.m @@ -20,10 +20,29 @@ #import @interface MyModel : RLMObject +@property (nonatomic) int value; +@end +@implementation MyModel @end @interface AppDelegate : UIResponder - @property (strong, nonatomic) UIWindow *window; +@end +@implementation AppDelegate +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + RLMRealm *realm = [RLMRealm defaultRealm]; + return YES; +} @end + +@interface ViewController : UIViewController +@end +@implementation ViewController +@end + +int main(int argc, char * argv[]) { + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +} diff --git a/examples/installation/SubRealm/SubRealm.podspec b/examples/installation/SubRealm/SubRealm.podspec new file mode 100644 index 0000000000..8af535de9a --- /dev/null +++ b/examples/installation/SubRealm/SubRealm.podspec @@ -0,0 +1,16 @@ +Pod::Spec.new do |s| + s.name = "SubRealm" + s.version = "1.0.0" + s.summary = "Test Realm as a transitive dependency" + s.homepage = "https://realm.io" + s.author = { 'Realm' => 'realm-help@mongodb.com' } + s.license = { type: 'Apache 2.0', file: '../../../LICENSE' } + s.source = { git: 'https://github.com/realm/realm-swift.git', tag: "v#{s.version}" } + s.swift_version = '5' + s.ios.deployment_target = '12.0' + s.osx.deployment_target = '10.15' + s.watchos.deployment_target = '5.0' + s.tvos.deployment_target = '12.0' + s.source_files = "*.swift" + s.dependency 'RealmSwift' +end diff --git a/examples/installation/ios/swift/CocoapodsSubdependency/Source/SubRealm.swift b/examples/installation/SubRealm/SubRealm.swift similarity index 95% rename from examples/installation/ios/swift/CocoapodsSubdependency/Source/SubRealm.swift rename to examples/installation/SubRealm/SubRealm.swift index 625a3a39a5..ef9f900cd2 100644 --- a/examples/installation/ios/swift/CocoapodsSubdependency/Source/SubRealm.swift +++ b/examples/installation/SubRealm/SubRealm.swift @@ -34,6 +34,6 @@ public class SubRealm { public static func findTestModel() throws -> TestObject? { let realm = try Realm() - return realm.objects(TestObject.self).first ?? nil + return realm.objects(TestObject.self).first } } diff --git a/examples/installation/SwiftPMExample/.gitignore b/examples/installation/SwiftPMExample/.gitignore deleted file mode 100644 index 02c087533d..0000000000 --- a/examples/installation/SwiftPMExample/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -.DS_Store -/.build -/Packages -/*.xcodeproj diff --git a/examples/installation/SwiftPMExample/Package.swift b/examples/installation/SwiftPMExample/Package.swift deleted file mode 100644 index 5447507f50..0000000000 --- a/examples/installation/SwiftPMExample/Package.swift +++ /dev/null @@ -1,18 +0,0 @@ -// swift-tools-version:5.1 - -import PackageDescription - -let package = Package( - name: "SwiftPMExample", - dependencies: [ - .package(path: "../../.."), - ], - targets: [ - .target( - name: "SwiftPMExample", - dependencies: ["RealmSwift"]), - .testTarget( - name: "SwiftPMExampleTests", - dependencies: ["SwiftPMExample"]), - ] -) diff --git a/examples/installation/SwiftPMExample/Sources/SwiftPMExample/main.swift b/examples/installation/SwiftPMExample/Sources/SwiftPMExample/main.swift deleted file mode 100644 index 7e2280e555..0000000000 --- a/examples/installation/SwiftPMExample/Sources/SwiftPMExample/main.swift +++ /dev/null @@ -1,13 +0,0 @@ -import Foundation -import RealmSwift - -class MyModel: Object { - @objc dynamic var str: String = "" -} - -let realm = try! Realm() -try! realm.write { - realm.create(MyModel.self, value: ["Hello, world!"]) -} - -print(realm.objects(MyModel.self).last!.str) diff --git a/examples/installation/SwiftPMExample/Tests/SwiftPMExampleTests/SwiftPMExampleTests.swift b/examples/installation/SwiftPMExample/Tests/SwiftPMExampleTests/SwiftPMExampleTests.swift deleted file mode 100644 index 7abfaf0242..0000000000 --- a/examples/installation/SwiftPMExample/Tests/SwiftPMExampleTests/SwiftPMExampleTests.swift +++ /dev/null @@ -1,40 +0,0 @@ -import XCTest -import class Foundation.Bundle - -#if os(macOS) -final class SwiftPMExampleTests: XCTestCase { - func testExample() throws { - guard #available(macOS 10.13, *) else { - return - } - - let fooBinary = productsDirectory.appendingPathComponent("SwiftPMExample") - - let process = Process() - process.executableURL = fooBinary - - let pipe = Pipe() - process.standardOutput = pipe - - try process.run() - process.waitUntilExit() - - let data = pipe.fileHandleForReading.readDataToEndOfFile() - let output = String(data: data, encoding: .utf8) - - XCTAssertEqual(output, "Hello, world!\n") - } - - /// Returns path to the built products directory. - var productsDirectory: URL { - for bundle in Bundle.allBundles where bundle.bundlePath.hasSuffix(".xctest") { - return bundle.bundleURL.deletingLastPathComponent() - } - fatalError("couldn't find the products directory") - } - - static var allTests = [ - ("testExample", testExample), - ] -} -#endif diff --git a/examples/installation/SwiftPackageManager.notxcodeproj/project.pbxproj b/examples/installation/SwiftPackageManager.notxcodeproj/project.pbxproj new file mode 100644 index 0000000000..cad3b4110d --- /dev/null +++ b/examples/installation/SwiftPackageManager.notxcodeproj/project.pbxproj @@ -0,0 +1,399 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 3FEC916A2A4D3B140044BFF5 /* SwiftExampleApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FEC91692A4D3B140044BFF5 /* SwiftExampleApp.swift */; }; + 3FEC916E2A4D3B150044BFF5 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3FEC916D2A4D3B150044BFF5 /* Assets.xcassets */; }; + 3FEC91722A4D3B150044BFF5 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3FEC91712A4D3B150044BFF5 /* Preview Assets.xcassets */; }; + 3FEC917A2A4D3DB90044BFF5 /* Realm in Frameworks */ = {isa = PBXBuildFile; productRef = 3FEC91792A4D3DB90044BFF5 /* Realm */; }; + 3FEC917C2A4D3DB90044BFF5 /* RealmSwift in Frameworks */ = {isa = PBXBuildFile; productRef = 3FEC917B2A4D3DB90044BFF5 /* RealmSwift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 3FEC91662A4D3B140044BFF5 /* App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 3FEC91692A4D3B140044BFF5 /* SwiftExampleApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftExampleApp.swift; sourceTree = ""; }; + 3FEC916D2A4D3B150044BFF5 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 3FEC916F2A4D3B150044BFF5 /* SwiftExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SwiftExample.entitlements; sourceTree = ""; }; + 3FEC91712A4D3B150044BFF5 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 3FEC91632A4D3B140044BFF5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 3FEC917A2A4D3DB90044BFF5 /* Realm in Frameworks */, + 3FEC917C2A4D3DB90044BFF5 /* RealmSwift in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 3FEC915D2A4D3B140044BFF5 = { + isa = PBXGroup; + children = ( + 3FEC91682A4D3B140044BFF5 /* Source */, + 3FEC91672A4D3B140044BFF5 /* Products */, + ); + sourceTree = ""; + }; + 3FEC91672A4D3B140044BFF5 /* Products */ = { + isa = PBXGroup; + children = ( + 3FEC91662A4D3B140044BFF5 /* App.app */, + ); + name = Products; + sourceTree = ""; + }; + 3FEC91682A4D3B140044BFF5 /* Source */ = { + isa = PBXGroup; + children = ( + 3FEC91702A4D3B150044BFF5 /* Preview Content */, + 3FEC916D2A4D3B150044BFF5 /* Assets.xcassets */, + 3FEC916F2A4D3B150044BFF5 /* SwiftExample.entitlements */, + 3FEC91692A4D3B140044BFF5 /* SwiftExampleApp.swift */, + ); + path = Source; + sourceTree = ""; + }; + 3FEC91702A4D3B150044BFF5 /* Preview Content */ = { + isa = PBXGroup; + children = ( + 3FEC91712A4D3B150044BFF5 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 3FEC91652A4D3B140044BFF5 /* App */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3FEC91752A4D3B150044BFF5 /* Build configuration list for PBXNativeTarget "App" */; + buildPhases = ( + 3FEC91622A4D3B140044BFF5 /* Sources */, + 3FEC91632A4D3B140044BFF5 /* Frameworks */, + 3FEC91642A4D3B140044BFF5 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = App; + packageProductDependencies = ( + 3FEC91792A4D3DB90044BFF5 /* Realm */, + 3FEC917B2A4D3DB90044BFF5 /* RealmSwift */, + ); + productName = SwiftPM; + productReference = 3FEC91662A4D3B140044BFF5 /* App.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 3FEC915E2A4D3B140044BFF5 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1500; + LastUpgradeCheck = 1500; + TargetAttributes = { + 3FEC91652A4D3B140044BFF5 = { + CreatedOnToolsVersion = 15.0; + }; + }; + }; + buildConfigurationList = 3FEC91612A4D3B140044BFF5 /* Build configuration list for PBXProject "SwiftPackageManager" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 3FEC915D2A4D3B140044BFF5; + packageReferences = ( + 3FEC91782A4D3DB90044BFF5 /* XCRemoteSwiftPackageReference "realm-swift" */, + ); + productRefGroup = 3FEC91672A4D3B140044BFF5 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 3FEC91652A4D3B140044BFF5 /* App */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 3FEC91642A4D3B140044BFF5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3FEC916E2A4D3B150044BFF5 /* Assets.xcassets in Resources */, + 3FEC91722A4D3B150044BFF5 /* Preview Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 3FEC91622A4D3B140044BFF5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3FEC916A2A4D3B140044BFF5 /* SwiftExampleApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 3FEC91732A4D3B150044BFF5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 3FEC91742A4D3B150044BFF5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SWIFT_COMPILATION_MODE = wholemodule; + }; + name = Release; + }; + 3FEC91762A4D3B150044BFF5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALLOW_TARGET_PLATFORM_SPECIALIZATION = YES; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = Source/SwiftExample.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"Source/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 13.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = io.Realm.App; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "xrsimulator xros watchsimulator watchos macosx iphonesimulator iphoneos driverkit appletvsimulator appletvos"; + SUPPORTS_MACCATALYST = YES; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,3,7"; + }; + name = Debug; + }; + 3FEC91772A4D3B150044BFF5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALLOW_TARGET_PLATFORM_SPECIALIZATION = YES; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = Source/SwiftExample.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"Source/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 13.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = io.Realm.App; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "xrsimulator xros watchsimulator watchos macosx iphonesimulator iphoneos driverkit appletvsimulator appletvos"; + SUPPORTS_MACCATALYST = YES; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,3,7"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 3FEC91612A4D3B140044BFF5 /* Build configuration list for PBXProject "SwiftPackageManager" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3FEC91732A4D3B150044BFF5 /* Debug */, + 3FEC91742A4D3B150044BFF5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3FEC91752A4D3B150044BFF5 /* Build configuration list for PBXNativeTarget "App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3FEC91762A4D3B150044BFF5 /* Debug */, + 3FEC91772A4D3B150044BFF5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 3FEC91782A4D3DB90044BFF5 /* XCRemoteSwiftPackageReference "realm-swift" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/realm/realm-swift.git"; + requirement = { + branch = master; + kind = branch; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 3FEC91792A4D3DB90044BFF5 /* Realm */ = { + isa = XCSwiftPackageProductDependency; + package = 3FEC91782A4D3DB90044BFF5 /* XCRemoteSwiftPackageReference "realm-swift" */; + productName = Realm; + }; + 3FEC917B2A4D3DB90044BFF5 /* RealmSwift */ = { + isa = XCSwiftPackageProductDependency; + package = 3FEC91782A4D3DB90044BFF5 /* XCRemoteSwiftPackageReference "realm-swift" */; + productName = RealmSwift; + }; +/* End XCSwiftPackageProductDependency section */ + }; + rootObject = 3FEC915E2A4D3B140044BFF5 /* Project object */; +} diff --git a/examples/installation/XCFramework.xcodeproj/project.pbxproj b/examples/installation/XCFramework.xcodeproj/project.pbxproj new file mode 100644 index 0000000000..05421ac6d3 --- /dev/null +++ b/examples/installation/XCFramework.xcodeproj/project.pbxproj @@ -0,0 +1,391 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 3F938BA62A4E1886002356FE /* RealmSwift.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F938BA42A4E1886002356FE /* RealmSwift.xcframework */; }; + 3F938BA72A4E1886002356FE /* RealmSwift.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3F938BA42A4E1886002356FE /* RealmSwift.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 3F938BA82A4E1886002356FE /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F938BA52A4E1886002356FE /* Realm.xcframework */; }; + 3F938BA92A4E1886002356FE /* Realm.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3F938BA52A4E1886002356FE /* Realm.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 3FD2CB222A4F34F500DF7B4F /* ObjCImport.m in Sources */ = {isa = PBXBuildFile; fileRef = 3FD2CB212A4F34F500DF7B4F /* ObjCImport.m */; }; + 3FEC917F2A4D41250044BFF5 /* SwiftExampleApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FEC91692A4D3B140044BFF5 /* SwiftExampleApp.swift */; }; + 3FEC91822A4D41250044BFF5 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3FEC916D2A4D3B150044BFF5 /* Assets.xcassets */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 3F938BAA2A4E1886002356FE /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 3F938BA72A4E1886002356FE /* RealmSwift.xcframework in Embed Frameworks */, + 3F938BA92A4E1886002356FE /* Realm.xcframework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 3F938BA42A4E1886002356FE /* RealmSwift.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = RealmSwift.xcframework; path = ../../build/RealmSwift.xcframework; sourceTree = ""; }; + 3F938BA52A4E1886002356FE /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = ../../build/Realm.xcframework; sourceTree = ""; }; + 3FD2CB212A4F34F500DF7B4F /* ObjCImport.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ObjCImport.m; sourceTree = ""; }; + 3FEC91692A4D3B140044BFF5 /* SwiftExampleApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftExampleApp.swift; sourceTree = ""; }; + 3FEC916D2A4D3B150044BFF5 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 3FEC916F2A4D3B150044BFF5 /* SwiftExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SwiftExample.entitlements; sourceTree = ""; }; + 3FEC91872A4D41250044BFF5 /* App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 3FEC91802A4D41250044BFF5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 3F938BA62A4E1886002356FE /* RealmSwift.xcframework in Frameworks */, + 3F938BA82A4E1886002356FE /* Realm.xcframework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 3F938BA32A4E1886002356FE /* Frameworks */ = { + isa = PBXGroup; + children = ( + 3F938BA52A4E1886002356FE /* Realm.xcframework */, + 3F938BA42A4E1886002356FE /* RealmSwift.xcframework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 3FEC915D2A4D3B140044BFF5 = { + isa = PBXGroup; + children = ( + 3FEC91682A4D3B140044BFF5 /* Source */, + 3FEC91672A4D3B140044BFF5 /* Products */, + 3F938BA32A4E1886002356FE /* Frameworks */, + ); + sourceTree = ""; + }; + 3FEC91672A4D3B140044BFF5 /* Products */ = { + isa = PBXGroup; + children = ( + 3FEC91872A4D41250044BFF5 /* App.app */, + ); + name = Products; + sourceTree = ""; + }; + 3FEC91682A4D3B140044BFF5 /* Source */ = { + isa = PBXGroup; + children = ( + 3FEC916D2A4D3B150044BFF5 /* Assets.xcassets */, + 3FEC916F2A4D3B150044BFF5 /* SwiftExample.entitlements */, + 3FEC91692A4D3B140044BFF5 /* SwiftExampleApp.swift */, + 3FD2CB212A4F34F500DF7B4F /* ObjCImport.m */, + ); + path = Source; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 3FEC917D2A4D41250044BFF5 /* App */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3FEC91842A4D41250044BFF5 /* Build configuration list for PBXNativeTarget "App" */; + buildPhases = ( + 3FEC917E2A4D41250044BFF5 /* Sources */, + 3FEC91802A4D41250044BFF5 /* Frameworks */, + 3FEC91812A4D41250044BFF5 /* Resources */, + 3F938BAA2A4E1886002356FE /* Embed Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = App; + productName = SwiftPM; + productReference = 3FEC91872A4D41250044BFF5 /* App.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 3FEC915E2A4D3B140044BFF5 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1500; + LastUpgradeCheck = 1500; + TargetAttributes = { + 3FEC917D2A4D41250044BFF5 = { + LastSwiftMigration = 1500; + }; + }; + }; + buildConfigurationList = 3FEC91612A4D3B140044BFF5 /* Build configuration list for PBXProject "XCFramework" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 3FEC915D2A4D3B140044BFF5; + productRefGroup = 3FEC91672A4D3B140044BFF5 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 3FEC917D2A4D41250044BFF5 /* App */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 3FEC91812A4D41250044BFF5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3FEC91822A4D41250044BFF5 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 3FEC917E2A4D41250044BFF5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3FD2CB222A4F34F500DF7B4F /* ObjCImport.m in Sources */, + 3FEC917F2A4D41250044BFF5 /* SwiftExampleApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 3FEC91732A4D3B150044BFF5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 3FEC91742A4D3B150044BFF5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SWIFT_COMPILATION_MODE = wholemodule; + }; + name = Release; + }; + 3FEC91852A4D41250044BFF5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = Source/SwiftExample.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"Source/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 13.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = io.Realm.App; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator watchos watchsimulator"; + SUPPORTS_MACCATALYST = YES; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,3,4,6,7"; + }; + name = Debug; + }; + 3FEC91862A4D41250044BFF5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = Source/SwiftExample.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"Source/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 13.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = io.Realm.App; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx xros xrsimulator watchos watchsimulator"; + SUPPORTS_MACCATALYST = YES; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,3,4,5,6,7"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 3FEC91612A4D3B140044BFF5 /* Build configuration list for PBXProject "XCFramework" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3FEC91732A4D3B150044BFF5 /* Debug */, + 3FEC91742A4D3B150044BFF5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3FEC91842A4D41250044BFF5 /* Build configuration list for PBXNativeTarget "App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3FEC91852A4D41250044BFF5 /* Debug */, + 3FEC91862A4D41250044BFF5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 3FEC915E2A4D3B140044BFF5 /* Project object */; +} diff --git a/examples/installation/build.rb b/examples/installation/build.rb new file mode 100755 index 0000000000..4386d255e2 --- /dev/null +++ b/examples/installation/build.rb @@ -0,0 +1,241 @@ +#!/usr/bin/env ruby + +require 'FileUtils' + +def usage() + puts <<~END + Usage: ruby $0 test-all + Usage: ruby $0 platform method [linkage] + + platform: + ios + osx + tvos + visionos + watchos + + method: + cocoapods + carthage + spm + xcframework + + linkage: + static + dynamic (default) + + environment variables: + REALM_XCODE_VERSION: Xcode version to use + REALM_TEST_RELEASE: Version number to test, or "latest" to test the latest release + REALM_TEST_BRANCH: Name of a branch to test + END + exit 1 +end +usage unless ARGV.length >= 1 + +def read_setting(name) + `sh -c 'source ../../scripts/swift-version.sh; set_xcode_and_swift_versions; echo "$#{name}"'`.chomp() +end + +ENV['DEVELOPER_DIR'] = read_setting 'DEVELOPER_DIR' +ENV['REALM_XCODE_VERSION'] ||= read_setting 'REALM_XCODE_VERSION' + +if ENV['REALM_TEST_RELEASE'] == 'latest' + ENV['REALM_TEST_RELEASE'] = `curl --silent https://static.realm.io/update/cocoa` +end + +TEST_RELEASE = ENV['REALM_TEST_RELEASE'] +TEST_BRANCH = ENV['REALM_TEST_BRANCH'] +XCODE_VERSION = ENV['REALM_XCODE_VERSION'] +DEPENDENCIES = File.open("../../dependencies.list").map { |line| line.chomp.split("=") }.to_h + +def replace_in_file(filepath, *args) + contents = File.read(filepath) + File.open(filepath, "w") do |file| + args.each_slice(2) { |pattern, replacement| + contents = contents.gsub pattern, replacement + } + file.puts contents + end +end + +def sh(*args) + system(*args) or exit(1) +end + +def download_release(version, language) + unless Dir.exist? "realm-#{language}-#{version}" + unless File.exist? "realm-#{language}-#{version}.zip" + sh 'curl', '-OL', "https://github.com/realm/realm-swift/releases/download/v#{version}/realm-#{language}-#{version}.zip" + end + sh 'unzip', "realm-#{language}-#{version}.zip" + FileUtils.rm "realm-#{language}-#{version}.zip" + end + unless language != 'swift' || Dir.exist?("realm-swift-#{version}/#{XCODE_VERSION}") + raise "No build for Xcode version #{XCODE_VERSION} found in #{version} release package" + end + FileUtils.rm_rf '../../build/Realm.xcframework' + FileUtils.rm_rf '../../build/RealmSwift.xcframework' + FileUtils.mkdir_p '../../build' + + if language == 'swift' + sh 'cp', '-cR', "realm-swift-#{version}/#{XCODE_VERSION}/Realm.xcframework", "../../build" + sh 'cp', '-cR', "realm-swift-#{version}/#{XCODE_VERSION}/RealmSwift.xcframework", "../../build" + elsif language == 'objc' + FileUtils.mkdir_p '../../build/ios-static' + sh 'cp', '-cR', "realm-objc-#{version}/ios-static/Realm.xcframework", "../../build/ios-static" + else + raise "Unknown language #{language}" + end +end + +def download_realm(platform, method, static) + case method + when 'cocoapods' + # The podfile takes care of reading the env variables and importing the + # correct thing + ENV['REALM_PLATFORM'] = platform + sh 'pod', 'install' + + when 'carthage' + version = if TEST_RELEASE + " == #{TEST_RELEASE}" + elsif TEST_BRANCH + " \"#{TEST_BRANCH}\"" + else + '' + end + File.write 'Cartfile', 'github "realm/realm-swift"' + version + + # Carthage requires that a simulator exist, but `xcodebuild -list` is + # sometimes very slow if too many simulators exist, so delete all but one + # per platform + sh '../../scripts/reset-simulators.rb', '-firstOnly' + + platformName = case platform + when 'ios' then 'iOS' + when 'osx' then 'Mac' + when 'tvos' then 'tvOS' + when 'watchos' then 'watchOS' + end + sh 'carthage', 'update', '--use-xcframeworks', '--platform', platformName + + when 'spm' + # We have to hide the spm example from carthage because otherwise + # it'll fetch the example's package dependencies as part of deciding + # what to build from this repo. + unless File.symlink? 'SwiftPackageManager.xcodeproj/project.pbxproj' + FileUtils.mkdir_p 'SwiftPackageManager.xcodeproj' + File.symlink '../SwiftPackageManager.notxcodeproj/project.pbxproj', + 'SwiftPackageManager.xcodeproj/project.pbxproj' + end + + if TEST_RELEASE + replace_in_file 'SwiftPackageManager.xcodeproj/project.pbxproj', + /(branch|version) = .*;/, "version = #{TEST_RELEASE};", + /kind = .*;/, "kind = exactVersion;" + elsif TEST_BRANCH + replace_in_file 'SwiftPackageManager.xcodeproj/project.pbxproj', + /(branch|version) = .*;/, "branch = #{TEST_BRANCH};", + /kind = .*;/, "kind = branch;" + end + sh 'xcodebuild', '-project', 'SwiftPackageManager.xcodeproj', '-resolvePackageDependencies' + + when 'xcframework' + version = TEST_BRANCH ? DEPENDENCIES['VERSION'] : TEST_RELEASE + if version + download_release version, static ? 'objc' : 'swift' + elsif not Dir.exist? '../../build/Realm.xcframework' + raise 'Missing XCFramework to test in ../../build' + end + + else + usage + end +end + +def build_app(platform, method, static) + archive_path = "#{Dir.pwd}/out.xcarchive" + FileUtils.rm_rf archive_path + + build_args = ['clean', 'archive', '-archivePath', archive_path] + case platform + when 'ios' + build_args += ['-sdk', 'iphoneos', '-destination', 'generic/platform=iphoneos'] + when 'tvos' + build_args += ['-sdk', 'appletvos', '-destination', 'generic/platform=appletvos'] + when 'watchos' + build_args += ['-sdk', 'watchos', '-destination', 'generic/platform=watchos'] + when 'osx' + build_args += ['-sdk', 'macosx', '-destination', 'generic/platform=macOS'] + when 'catalyst' + build_args += ['-destination', 'generic/platform=macOS,variant=Mac Catalyst'] + end + build_args += ['CODE_SIGN_IDENTITY=', 'CODE_SIGNING_REQUIRED=NO', 'AD_HOC_CODE_SIGNING_ALLOWED=YES'] + + case method + when 'cocoapods' + sh 'xcodebuild', '-workspace', 'CocoaPods.xcworkspace', '-scheme', 'App', *build_args + + when 'carthage' + sh 'xcodebuild', '-project', 'Carthage.xcodeproj', '-scheme', 'App', *build_args + + when 'spm' + sh 'xcodebuild', '-project', 'SwiftPackageManager.xcodeproj', '-scheme', 'App', *build_args + + when 'xcframework' + if static + sh 'xcodebuild', '-project', 'Static/StaticExample.xcodeproj', '-scheme', 'StaticExample', *build_args + else + sh 'xcodebuild', '-project', 'XCFramework.xcodeproj', '-scheme', 'App', *build_args + end + end +end + +def validate_build(static) + has_frameworks = Dir["out.xcarchive/Products/Applications/**/Frameworks/*.framework"].length != 0 + if has_frameworks and static + raise 'Static build configuration has embedded frameworks' + elsif not has_frameworks and not static + raise 'Dyanmic build configuration is missing embedded frameworks' + end +end + +def test(platform, method, linkage = 'dynamic') + # Because we only have one target Xcode will choose to build us as a static + # library when using spm + static = linkage == 'static' || method == 'spm' + if static + ENV['REALM_BUILD_STATIC'] = '1' + else + ENV.delete 'REALM_BUILD_STATIC' + end + + puts "Testing #{method} for #{platform}" + + download_realm(platform, method, static) + build_app(platform, method, static) + validate_build(static) +end + +if ARGV[0] == 'test-all' + platforms = ['ios', 'osx', 'tvos', 'watchos', 'catalyst'] + if /15\..*/ =~ XCODE_VERSION + platforms += ['visionos'] + end + + for platform in platforms + for method in ['cocoapods', 'carthage', 'spm', 'xcframework'] + next if platform == 'catalyst' && method == 'carthage' + next if platform == 'visionos' && method != 'spm' + test platform, method, 'dynamic' + end + + test platform, 'cocoapods', 'static' unless platform == 'visionos' + end + + test 'ios', 'xcframework', 'static' + +else + test(*ARGV) +end diff --git a/examples/installation/build.sh b/examples/installation/build.sh deleted file mode 100755 index 63b1a26618..0000000000 --- a/examples/installation/build.sh +++ /dev/null @@ -1,234 +0,0 @@ -#!/bin/bash - -set -o pipefail -set -e - -usage() { -cat < Cartfile - else - echo "github \"realm/realm-swift\" \"${sha:-master}\"" > Cartfile - fi - if [[ $PLATFORM == ios ]]; then - carthage update --use-xcframeworks --platform iOS - elif [[ $PLATFORM == osx ]]; then - carthage update --use-xcframeworks --platform Mac - elif [[ $PLATFORM == watchos ]]; then - carthage update --use-xcframeworks --platform watchOS - fi - ) - elif [[ $NAME == SwiftPackageManager* ]]; then - if [ -n "$sha" ]; then - ex '+%s@branch = master@branch = "'"$sha"'"@' -scwq "$DIRECTORY/$NAME.xcodeproj/project.pbxproj" - fi - elif [[ $NAME == XCFramework* ]]; then - if ! [ -d xcframework-evolution ]; then - echo 'XCFramework does not exist' - exit 1 - fi - elif [[ $LANG == swift* ]]; then - download_zip_if_needed swift - else - download_zip_if_needed "$LANG" - fi - local destination=() - if [[ $PLATFORM == ios ]]; then - simulator_id="$(xcrun simctl list devices | grep -v unavailable | grep -m 1 -o '[0-9A-F\-]\{36\}')" - xcrun simctl boot "$simulator_id" || true - destination=(-destination "id=$simulator_id") - elif [[ $PLATFORM == watchos ]]; then - destination=(-sdk watchsimulator) - elif [[ $PLATFORM == catalyst ]]; then - destination=(-destination 'platform=macOS,variant=Mac Catalyst') - fi - - local project=(-project "$DIRECTORY/$NAME.xcodeproj") - local workspace="$DIRECTORY/$NAME.xcworkspace" - if [ -d "$workspace" ]; then - project=(-workspace "$workspace") - fi - local code_signing_flags=('CODE_SIGN_IDENTITY=' 'CODE_SIGNING_REQUIRED=NO' 'AD_HOC_CODE_SIGNING_ALLOWED=YES') - local scheme=(-scheme "$NAME") - - # Ensure that dynamic framework tests try to use the correct version of the prebuilt libraries. - if grep '/realm-swift-latest' "$DIRECTORY/$NAME.xcodeproj/project.pbxproj"; then - ex '+%s@/realm-swift-latest@/realm-swift-latest/'"${REALM_XCODE_VERSION}"'@' -scwq "$DIRECTORY/$NAME.xcodeproj/project.pbxproj" - fi - - xcodebuild "${project[@]}" "${scheme[@]}" clean build "${destination[@]}" "${code_signing_flags[@]}" - if [[ $PLATFORM != watchos ]]; then - pkill -9 xctest || true - xcodebuild "${project[@]}" "${scheme[@]}" test "${destination[@]}" "${code_signing_flags[@]}" - fi - - if [[ $PLATFORM != osx ]]; then - xcodebuild "${project[@]}" "${scheme[@]}" archive "${code_signing_flags[@]}" - fi -} - -swiftpm() { - PLATFORM="$1" - cd SwiftPMExample - xcrun swift build -} - -# shellcheck source=../../scripts/swift-version.sh -source "$(dirname "$0")/../../scripts/swift-version.sh" -set_xcode_and_swift_versions # exports REALM_SWIFT_VERSION, REALM_XCODE_VERSION, and DEVELOPER_DIR variables if not already set - -PLATFORM=$(echo "$COMMAND" | cut -d - -f 2) -LANGUAGE=$(echo "$COMMAND" | cut -d - -f 3) - -case "$COMMAND" in - "test-all") - for target in ios-swift-dynamic ios-swift-cocoapods catalyst-swift-cocoapods osx-swift-dynamic ios-swift-carthage osx-swift-carthage; do - ./build.sh test-$target || exit 1 - done - for target in ios osx; do - ./build.sh test-$target-spm || exit 1 - done - ;; - - test-*-*-cocoapods) - xctest "$PLATFORM" "$LANGUAGE" CocoaPodsExample - ;; - - test-*-*-cocoapods-dynamic) - xctest "$PLATFORM" "$LANGUAGE" CocoaPodsDynamicExample - ;; - - test-*-*-cocoapods-subdependency) - xctest "$PLATFORM" "$LANGUAGE" CocoaPodsSubdependency - ;; - - test-*-*-static) - xctest "$PLATFORM" "$LANGUAGE" StaticExample - ;; - - test-*-*-dynamic) - xctest "$PLATFORM" "$LANGUAGE" DynamicExample - ;; - - test-*-*-xcframework) - xctest "$PLATFORM" "$LANGUAGE" XCFrameworkExample - ;; - - test-*-*-carthage) - xctest "$PLATFORM" "$LANGUAGE" CarthageExample - ;; - - test-ios-spm) - # We have to "hide" the spm example from carthage because otherwise - # it'll fetch the example's package dependencies as part of deciding - # what to build from this repo. - if ! [ -L ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample.xcodeproj/project.pbxproj ]; then - mkdir -p ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample.xcodeproj - ln -s ../project.pbxproj ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample.xcodeproj - fi - xctest "$PLATFORM" swift SwiftPackageManagerExample - ;; - - test-*-spm) - swiftpm "$PLATFORM" - ;; - - *) - echo "Unknown command '$COMMAND'" - usage - exit 1 - ;; -esac diff --git a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj b/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj deleted file mode 100644 index 86dc6150a3..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,576 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - C0148A9D4A5C0AD6429A66AB /* Pods_CocoaPodsDynamicExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 880C2B8AC140B60EC776FE9E /* Pods_CocoaPodsDynamicExample.framework */; }; - E83EBA841AFAB18F0026370F /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA831AFAB18F0026370F /* main.m */; }; - E83EBA871AFAB18F0026370F /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA861AFAB18F0026370F /* AppDelegate.m */; }; - E83EBA8A1AFAB18F0026370F /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA891AFAB18F0026370F /* ViewController.m */; }; - E83EBA8D1AFAB18F0026370F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E83EBA8B1AFAB18F0026370F /* Main.storyboard */; }; - E83EBA8F1AFAB18F0026370F /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E83EBA8E1AFAB18F0026370F /* Images.xcassets */; }; - E83EBA921AFAB18F0026370F /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = E83EBA901AFAB18F0026370F /* LaunchScreen.xib */; }; - E83EBA9E1AFAB18F0026370F /* CocoaPodsDynamicExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA9D1AFAB18F0026370F /* CocoaPodsDynamicExampleTests.m */; }; - EF3CB77B4540C77C48DE1F61 /* Pods_CocoaPodsDynamicExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 38775EEA9202521AF68834C9 /* Pods_CocoaPodsDynamicExampleTests.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E83EBA981AFAB18F0026370F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E83EBA761AFAB18F0026370F /* Project object */; - proxyType = 1; - remoteGlobalIDString = E83EBA7D1AFAB18F0026370F; - remoteInfo = CocoaPodsDynamicExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 1F604F3951A2C3F7424C28F6 /* Pods-CocoaPodsDynamicExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsDynamicExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsDynamicExampleTests/Pods-CocoaPodsDynamicExampleTests.debug.xcconfig"; sourceTree = ""; }; - 38775EEA9202521AF68834C9 /* Pods_CocoaPodsDynamicExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CocoaPodsDynamicExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 47CCD44A389991B90B394879 /* Pods-CocoaPodsDynamicExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsDynamicExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsDynamicExample/Pods-CocoaPodsDynamicExample.release.xcconfig"; sourceTree = ""; }; - 597F1186F52214A56E572216 /* Pods-CocoaPodsDynamicExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsDynamicExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsDynamicExample/Pods-CocoaPodsDynamicExample.debug.xcconfig"; sourceTree = ""; }; - 880C2B8AC140B60EC776FE9E /* Pods_CocoaPodsDynamicExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CocoaPodsDynamicExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - CFADA7DB255C1AC800356CA1 /* CocoaPodsDynamicExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = CocoaPodsDynamicExample.entitlements; sourceTree = ""; }; - E0E7012D577514D49C90BB93 /* Pods-CocoaPodsDynamicExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsDynamicExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsDynamicExampleTests/Pods-CocoaPodsDynamicExampleTests.release.xcconfig"; sourceTree = ""; }; - E83EBA7E1AFAB18F0026370F /* CocoaPodsDynamicExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CocoaPodsDynamicExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E83EBA821AFAB18F0026370F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E83EBA831AFAB18F0026370F /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E83EBA851AFAB18F0026370F /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - E83EBA861AFAB18F0026370F /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - E83EBA881AFAB18F0026370F /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - E83EBA891AFAB18F0026370F /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - E83EBA8C1AFAB18F0026370F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E83EBA8E1AFAB18F0026370F /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E83EBA911AFAB18F0026370F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - E83EBA971AFAB18F0026370F /* CocoaPodsDynamicExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CocoaPodsDynamicExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E83EBA9C1AFAB18F0026370F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E83EBA9D1AFAB18F0026370F /* CocoaPodsDynamicExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CocoaPodsDynamicExampleTests.m; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E83EBA7B1AFAB18F0026370F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C0148A9D4A5C0AD6429A66AB /* Pods_CocoaPodsDynamicExample.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E83EBA941AFAB18F0026370F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - EF3CB77B4540C77C48DE1F61 /* Pods_CocoaPodsDynamicExampleTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 8EA830622410DC160C99A8AB /* Pods */ = { - isa = PBXGroup; - children = ( - 597F1186F52214A56E572216 /* Pods-CocoaPodsDynamicExample.debug.xcconfig */, - 47CCD44A389991B90B394879 /* Pods-CocoaPodsDynamicExample.release.xcconfig */, - 1F604F3951A2C3F7424C28F6 /* Pods-CocoaPodsDynamicExampleTests.debug.xcconfig */, - E0E7012D577514D49C90BB93 /* Pods-CocoaPodsDynamicExampleTests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; - B8A212B0FB656075020DD7FD /* Frameworks */ = { - isa = PBXGroup; - children = ( - 880C2B8AC140B60EC776FE9E /* Pods_CocoaPodsDynamicExample.framework */, - 38775EEA9202521AF68834C9 /* Pods_CocoaPodsDynamicExampleTests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - E83EBA751AFAB18F0026370F = { - isa = PBXGroup; - children = ( - E83EBA801AFAB18F0026370F /* CocoaPodsDynamicExample */, - E83EBA9A1AFAB18F0026370F /* CocoaPodsDynamicExampleTests */, - B8A212B0FB656075020DD7FD /* Frameworks */, - 8EA830622410DC160C99A8AB /* Pods */, - E83EBA7F1AFAB18F0026370F /* Products */, - ); - sourceTree = ""; - }; - E83EBA7F1AFAB18F0026370F /* Products */ = { - isa = PBXGroup; - children = ( - E83EBA7E1AFAB18F0026370F /* CocoaPodsDynamicExample.app */, - E83EBA971AFAB18F0026370F /* CocoaPodsDynamicExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E83EBA801AFAB18F0026370F /* CocoaPodsDynamicExample */ = { - isa = PBXGroup; - children = ( - CFADA7DB255C1AC800356CA1 /* CocoaPodsDynamicExample.entitlements */, - E83EBA811AFAB18F0026370F /* Supporting Files */, - E83EBA851AFAB18F0026370F /* AppDelegate.h */, - E83EBA861AFAB18F0026370F /* AppDelegate.m */, - E83EBA8E1AFAB18F0026370F /* Images.xcassets */, - E83EBA901AFAB18F0026370F /* LaunchScreen.xib */, - E83EBA8B1AFAB18F0026370F /* Main.storyboard */, - E83EBA881AFAB18F0026370F /* ViewController.h */, - E83EBA891AFAB18F0026370F /* ViewController.m */, - ); - path = CocoaPodsDynamicExample; - sourceTree = ""; - }; - E83EBA811AFAB18F0026370F /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E83EBA821AFAB18F0026370F /* Info.plist */, - E83EBA831AFAB18F0026370F /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E83EBA9A1AFAB18F0026370F /* CocoaPodsDynamicExampleTests */ = { - isa = PBXGroup; - children = ( - E83EBA9B1AFAB18F0026370F /* Supporting Files */, - E83EBA9D1AFAB18F0026370F /* CocoaPodsDynamicExampleTests.m */, - ); - path = CocoaPodsDynamicExampleTests; - sourceTree = ""; - }; - E83EBA9B1AFAB18F0026370F /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E83EBA9C1AFAB18F0026370F /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E83EBA7D1AFAB18F0026370F /* CocoaPodsDynamicExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E83EBAA11AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsDynamicExample" */; - buildPhases = ( - 8A6E522948A70230F174BF82 /* [CP] Check Pods Manifest.lock */, - E83EBA7A1AFAB18F0026370F /* Sources */, - E83EBA7B1AFAB18F0026370F /* Frameworks */, - E83EBA7C1AFAB18F0026370F /* Resources */, - 7250210E2F97E71040A424C8 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = CocoaPodsDynamicExample; - productName = CocoaPodsDynamicExample; - productReference = E83EBA7E1AFAB18F0026370F /* CocoaPodsDynamicExample.app */; - productType = "com.apple.product-type.application"; - }; - E83EBA961AFAB18F0026370F /* CocoaPodsDynamicExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E83EBAA41AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsDynamicExampleTests" */; - buildPhases = ( - C1181F6457BE50E501F9CD21 /* [CP] Check Pods Manifest.lock */, - E83EBA931AFAB18F0026370F /* Sources */, - E83EBA941AFAB18F0026370F /* Frameworks */, - E83EBA951AFAB18F0026370F /* Resources */, - F10C3E376B76263688EC2F10 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - E83EBA991AFAB18F0026370F /* PBXTargetDependency */, - ); - name = CocoaPodsDynamicExampleTests; - productName = CocoaPodsDynamicExampleTests; - productReference = E83EBA971AFAB18F0026370F /* CocoaPodsDynamicExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E83EBA761AFAB18F0026370F /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E83EBA7D1AFAB18F0026370F = { - CreatedOnToolsVersion = 6.3.1; - }; - E83EBA961AFAB18F0026370F = { - CreatedOnToolsVersion = 6.3.1; - TestTargetID = E83EBA7D1AFAB18F0026370F; - }; - }; - }; - buildConfigurationList = E83EBA791AFAB18F0026370F /* Build configuration list for PBXProject "CocoaPodsDynamicExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - English, - en, - Base, - ); - mainGroup = E83EBA751AFAB18F0026370F; - productRefGroup = E83EBA7F1AFAB18F0026370F /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E83EBA7D1AFAB18F0026370F /* CocoaPodsDynamicExample */, - E83EBA961AFAB18F0026370F /* CocoaPodsDynamicExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E83EBA7C1AFAB18F0026370F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E83EBA8F1AFAB18F0026370F /* Images.xcassets in Resources */, - E83EBA921AFAB18F0026370F /* LaunchScreen.xib in Resources */, - E83EBA8D1AFAB18F0026370F /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E83EBA951AFAB18F0026370F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 7250210E2F97E71040A424C8 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-CocoaPodsDynamicExample/Pods-CocoaPodsDynamicExample-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Realm/Realm.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CocoaPodsDynamicExample/Pods-CocoaPodsDynamicExample-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 8A6E522948A70230F174BF82 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsDynamicExample-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - C1181F6457BE50E501F9CD21 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsDynamicExampleTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - F10C3E376B76263688EC2F10 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-CocoaPodsDynamicExampleTests/Pods-CocoaPodsDynamicExampleTests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Realm/Realm.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CocoaPodsDynamicExampleTests/Pods-CocoaPodsDynamicExampleTests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E83EBA7A1AFAB18F0026370F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E83EBA871AFAB18F0026370F /* AppDelegate.m in Sources */, - E83EBA841AFAB18F0026370F /* main.m in Sources */, - E83EBA8A1AFAB18F0026370F /* ViewController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E83EBA931AFAB18F0026370F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E83EBA9E1AFAB18F0026370F /* CocoaPodsDynamicExampleTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E83EBA991AFAB18F0026370F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E83EBA7D1AFAB18F0026370F /* CocoaPodsDynamicExample */; - targetProxy = E83EBA981AFAB18F0026370F /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E83EBA8B1AFAB18F0026370F /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E83EBA8C1AFAB18F0026370F /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - E83EBA901AFAB18F0026370F /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - E83EBA911AFAB18F0026370F /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E83EBA9F1AFAB18F0026370F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MACOSX_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - }; - name = Debug; - }; - E83EBAA01AFAB18F0026370F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MACOSX_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E83EBAA21AFAB18F0026370F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 597F1186F52214A56E572216 /* Pods-CocoaPodsDynamicExample.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_ENTITLEMENTS = CocoaPodsDynamicExample/CocoaPodsDynamicExample.entitlements; - INFOPLIST_FILE = CocoaPodsDynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTS_MACCATALYST = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - E83EBAA31AFAB18F0026370F /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 47CCD44A389991B90B394879 /* Pods-CocoaPodsDynamicExample.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_ENTITLEMENTS = CocoaPodsDynamicExample/CocoaPodsDynamicExample.entitlements; - INFOPLIST_FILE = CocoaPodsDynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTS_MACCATALYST = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - E83EBAA51AFAB18F0026370F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1F604F3951A2C3F7424C28F6 /* Pods-CocoaPodsDynamicExampleTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = CocoaPodsDynamicExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsDynamicExample.app/CocoaPodsDynamicExample"; - }; - name = Debug; - }; - E83EBAA61AFAB18F0026370F /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E0E7012D577514D49C90BB93 /* Pods-CocoaPodsDynamicExampleTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - INFOPLIST_FILE = CocoaPodsDynamicExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsDynamicExample.app/CocoaPodsDynamicExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E83EBA791AFAB18F0026370F /* Build configuration list for PBXProject "CocoaPodsDynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E83EBA9F1AFAB18F0026370F /* Debug */, - E83EBAA01AFAB18F0026370F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E83EBAA11AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsDynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E83EBAA21AFAB18F0026370F /* Debug */, - E83EBAA31AFAB18F0026370F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E83EBAA41AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsDynamicExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E83EBAA51AFAB18F0026370F /* Debug */, - E83EBAA61AFAB18F0026370F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E83EBA761AFAB18F0026370F /* Project object */; -} diff --git a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.h b/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.h deleted file mode 100644 index 1c8e58ba43..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.h +++ /dev/null @@ -1,29 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import - -@interface MyModel : RLMObject -@end - -@interface AppDelegate : UIResponder - -@property (strong, nonatomic) UIWindow *window; - -@end diff --git a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.m b/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.m deleted file mode 100644 index 9be06edef8..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.m +++ /dev/null @@ -1,30 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "AppDelegate.h" - -@implementation MyModel -@end - -@implementation AppDelegate - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - return YES; -} - -@end diff --git a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Base.lproj/LaunchScreen.xib b/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Base.lproj/LaunchScreen.xib deleted file mode 100644 index d65fdc2348..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.h b/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.h deleted file mode 100644 index bd3a4d807a..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -@interface ViewController : UIViewController - - -@end - diff --git a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.m b/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.m deleted file mode 100644 index dbe4e747e8..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.m +++ /dev/null @@ -1,37 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "ViewController.h" - -@interface ViewController () - -@end - -@implementation ViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - // Do any additional setup after loading the view, typically from a nib. -} - -- (void)didReceiveMemoryWarning { - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. -} - -@end diff --git a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/main.m b/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/main.m deleted file mode 100644 index 4a49435635..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/main.m +++ /dev/null @@ -1,26 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import "AppDelegate.h" - -int main(int argc, char * argv[]) { - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); - } -} diff --git a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/CocoaPodsDynamicExampleTests.m b/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/CocoaPodsDynamicExampleTests.m deleted file mode 100644 index 120b812816..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/CocoaPodsDynamicExampleTests.m +++ /dev/null @@ -1,32 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -#import "AppDelegate.h" - -@interface CocoaPodsDynamicExampleTests : XCTestCase -@end - -@implementation CocoaPodsDynamicExampleTests - -- (void)testExample { - XCTAssertTrue([MyModel isSubclassOfClass:[RLMObject class]]); -} - -@end diff --git a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/Info.plist b/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/Podfile b/examples/installation/catalyst/objc/CocoaPodsDynamicExample/Podfile deleted file mode 100644 index b77fd9c5b0..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsDynamicExample/Podfile +++ /dev/null @@ -1,13 +0,0 @@ -# Uncomment this line to define a global platform for your project -platform :ios, '11.0' - -use_frameworks! -branch = ENV['sha'] - -target 'CocoaPodsDynamicExample' do - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch, submodules: true -end - -target 'CocoaPodsDynamicExampleTests' do - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch, submodules: true -end diff --git a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj b/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj deleted file mode 100644 index f78c0800ac..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,538 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 064B183ECFBA672290C79C49 /* libPods-CocoaPodsExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DAFE3EE99CBCBD93B4F3442 /* libPods-CocoaPodsExample.a */; }; - 517EC1C3150AB28CCDD7578C /* libPods-CocoaPodsExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0BFE70EE100C45C7996190DE /* libPods-CocoaPodsExampleTests.a */; }; - E83EBA841AFAB18F0026370F /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA831AFAB18F0026370F /* main.m */; }; - E83EBA871AFAB18F0026370F /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA861AFAB18F0026370F /* AppDelegate.m */; }; - E83EBA8A1AFAB18F0026370F /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA891AFAB18F0026370F /* ViewController.m */; }; - E83EBA8D1AFAB18F0026370F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E83EBA8B1AFAB18F0026370F /* Main.storyboard */; }; - E83EBA8F1AFAB18F0026370F /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E83EBA8E1AFAB18F0026370F /* Images.xcassets */; }; - E83EBA921AFAB18F0026370F /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = E83EBA901AFAB18F0026370F /* LaunchScreen.xib */; }; - E83EBA9E1AFAB18F0026370F /* CocoaPodsExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA9D1AFAB18F0026370F /* CocoaPodsExampleTests.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E83EBA981AFAB18F0026370F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E83EBA761AFAB18F0026370F /* Project object */; - proxyType = 1; - remoteGlobalIDString = E83EBA7D1AFAB18F0026370F; - remoteInfo = CocoaPodsExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 0BFE70EE100C45C7996190DE /* libPods-CocoaPodsExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-CocoaPodsExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 0E28CC068C4D3B461BC98950 /* Pods-CocoaPodsExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests.release.xcconfig"; sourceTree = ""; }; - 39C77DC6ED767AFFF58E4A1E /* Pods-CocoaPodsExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests.debug.xcconfig"; sourceTree = ""; }; - 8DAFE3EE99CBCBD93B4F3442 /* libPods-CocoaPodsExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-CocoaPodsExample.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - AAC8746B641F4E291B229F2B /* Pods-CocoaPodsExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample.release.xcconfig"; sourceTree = ""; }; - CFADA7D1255C1AAF00356CA1 /* CocoaPodsExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = CocoaPodsExample.entitlements; sourceTree = ""; }; - E83EBA7E1AFAB18F0026370F /* CocoaPodsExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CocoaPodsExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E83EBA821AFAB18F0026370F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E83EBA831AFAB18F0026370F /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E83EBA851AFAB18F0026370F /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - E83EBA861AFAB18F0026370F /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - E83EBA881AFAB18F0026370F /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - E83EBA891AFAB18F0026370F /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - E83EBA8C1AFAB18F0026370F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E83EBA8E1AFAB18F0026370F /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E83EBA911AFAB18F0026370F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - E83EBA971AFAB18F0026370F /* CocoaPodsExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CocoaPodsExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E83EBA9C1AFAB18F0026370F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E83EBA9D1AFAB18F0026370F /* CocoaPodsExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CocoaPodsExampleTests.m; sourceTree = ""; }; - FE975F47BF9C918B0C9601D9 /* Pods-CocoaPodsExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample.debug.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E83EBA7B1AFAB18F0026370F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 064B183ECFBA672290C79C49 /* libPods-CocoaPodsExample.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E83EBA941AFAB18F0026370F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 517EC1C3150AB28CCDD7578C /* libPods-CocoaPodsExampleTests.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - C2B55A3F564B4A7B9B9EB9A2 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 8DAFE3EE99CBCBD93B4F3442 /* libPods-CocoaPodsExample.a */, - 0BFE70EE100C45C7996190DE /* libPods-CocoaPodsExampleTests.a */, - ); - name = Frameworks; - sourceTree = ""; - }; - E83EBA751AFAB18F0026370F = { - isa = PBXGroup; - children = ( - E83EBA801AFAB18F0026370F /* CocoaPodsExample */, - E83EBA9A1AFAB18F0026370F /* CocoaPodsExampleTests */, - C2B55A3F564B4A7B9B9EB9A2 /* Frameworks */, - F5851B9C26D003816745FF6A /* Pods */, - E83EBA7F1AFAB18F0026370F /* Products */, - ); - sourceTree = ""; - }; - E83EBA7F1AFAB18F0026370F /* Products */ = { - isa = PBXGroup; - children = ( - E83EBA7E1AFAB18F0026370F /* CocoaPodsExample.app */, - E83EBA971AFAB18F0026370F /* CocoaPodsExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E83EBA801AFAB18F0026370F /* CocoaPodsExample */ = { - isa = PBXGroup; - children = ( - CFADA7D1255C1AAF00356CA1 /* CocoaPodsExample.entitlements */, - E83EBA811AFAB18F0026370F /* Supporting Files */, - E83EBA851AFAB18F0026370F /* AppDelegate.h */, - E83EBA861AFAB18F0026370F /* AppDelegate.m */, - E83EBA8E1AFAB18F0026370F /* Images.xcassets */, - E83EBA901AFAB18F0026370F /* LaunchScreen.xib */, - E83EBA8B1AFAB18F0026370F /* Main.storyboard */, - E83EBA881AFAB18F0026370F /* ViewController.h */, - E83EBA891AFAB18F0026370F /* ViewController.m */, - ); - path = CocoaPodsExample; - sourceTree = ""; - }; - E83EBA811AFAB18F0026370F /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E83EBA821AFAB18F0026370F /* Info.plist */, - E83EBA831AFAB18F0026370F /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E83EBA9A1AFAB18F0026370F /* CocoaPodsExampleTests */ = { - isa = PBXGroup; - children = ( - E83EBA9B1AFAB18F0026370F /* Supporting Files */, - E83EBA9D1AFAB18F0026370F /* CocoaPodsExampleTests.m */, - ); - path = CocoaPodsExampleTests; - sourceTree = ""; - }; - E83EBA9B1AFAB18F0026370F /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E83EBA9C1AFAB18F0026370F /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - F5851B9C26D003816745FF6A /* Pods */ = { - isa = PBXGroup; - children = ( - FE975F47BF9C918B0C9601D9 /* Pods-CocoaPodsExample.debug.xcconfig */, - AAC8746B641F4E291B229F2B /* Pods-CocoaPodsExample.release.xcconfig */, - 39C77DC6ED767AFFF58E4A1E /* Pods-CocoaPodsExampleTests.debug.xcconfig */, - 0E28CC068C4D3B461BC98950 /* Pods-CocoaPodsExampleTests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E83EBA7D1AFAB18F0026370F /* CocoaPodsExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E83EBAA11AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */; - buildPhases = ( - 5E5107821FB75CECB1343D03 /* [CP] Check Pods Manifest.lock */, - E83EBA7A1AFAB18F0026370F /* Sources */, - E83EBA7B1AFAB18F0026370F /* Frameworks */, - E83EBA7C1AFAB18F0026370F /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = CocoaPodsExample; - productName = CocoaPodsExample; - productReference = E83EBA7E1AFAB18F0026370F /* CocoaPodsExample.app */; - productType = "com.apple.product-type.application"; - }; - E83EBA961AFAB18F0026370F /* CocoaPodsExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E83EBAA41AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsExampleTests" */; - buildPhases = ( - CB13D4A5201ECC5444D9FDD6 /* [CP] Check Pods Manifest.lock */, - E83EBA931AFAB18F0026370F /* Sources */, - E83EBA941AFAB18F0026370F /* Frameworks */, - E83EBA951AFAB18F0026370F /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E83EBA991AFAB18F0026370F /* PBXTargetDependency */, - ); - name = CocoaPodsExampleTests; - productName = CocoaPodsExampleTests; - productReference = E83EBA971AFAB18F0026370F /* CocoaPodsExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E83EBA761AFAB18F0026370F /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E83EBA7D1AFAB18F0026370F = { - CreatedOnToolsVersion = 6.3.1; - }; - E83EBA961AFAB18F0026370F = { - CreatedOnToolsVersion = 6.3.1; - TestTargetID = E83EBA7D1AFAB18F0026370F; - }; - }; - }; - buildConfigurationList = E83EBA791AFAB18F0026370F /* Build configuration list for PBXProject "CocoaPodsExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - English, - en, - Base, - ); - mainGroup = E83EBA751AFAB18F0026370F; - productRefGroup = E83EBA7F1AFAB18F0026370F /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E83EBA7D1AFAB18F0026370F /* CocoaPodsExample */, - E83EBA961AFAB18F0026370F /* CocoaPodsExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E83EBA7C1AFAB18F0026370F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E83EBA8F1AFAB18F0026370F /* Images.xcassets in Resources */, - E83EBA921AFAB18F0026370F /* LaunchScreen.xib in Resources */, - E83EBA8D1AFAB18F0026370F /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E83EBA951AFAB18F0026370F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 5E5107821FB75CECB1343D03 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsExample-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - CB13D4A5201ECC5444D9FDD6 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsExampleTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E83EBA7A1AFAB18F0026370F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E83EBA871AFAB18F0026370F /* AppDelegate.m in Sources */, - E83EBA841AFAB18F0026370F /* main.m in Sources */, - E83EBA8A1AFAB18F0026370F /* ViewController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E83EBA931AFAB18F0026370F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E83EBA9E1AFAB18F0026370F /* CocoaPodsExampleTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E83EBA991AFAB18F0026370F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E83EBA7D1AFAB18F0026370F /* CocoaPodsExample */; - targetProxy = E83EBA981AFAB18F0026370F /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E83EBA8B1AFAB18F0026370F /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E83EBA8C1AFAB18F0026370F /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - E83EBA901AFAB18F0026370F /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - E83EBA911AFAB18F0026370F /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E83EBA9F1AFAB18F0026370F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MACOSX_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - }; - name = Debug; - }; - E83EBAA01AFAB18F0026370F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MACOSX_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E83EBAA21AFAB18F0026370F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FE975F47BF9C918B0C9601D9 /* Pods-CocoaPodsExample.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_ENTITLEMENTS = CocoaPodsExample/CocoaPodsExample.entitlements; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTS_MACCATALYST = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - E83EBAA31AFAB18F0026370F /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = AAC8746B641F4E291B229F2B /* Pods-CocoaPodsExample.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_ENTITLEMENTS = CocoaPodsExample/CocoaPodsExample.entitlements; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTS_MACCATALYST = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - E83EBAA51AFAB18F0026370F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 39C77DC6ED767AFFF58E4A1E /* Pods-CocoaPodsExampleTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = CocoaPodsExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsExample.app/CocoaPodsExample"; - }; - name = Debug; - }; - E83EBAA61AFAB18F0026370F /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 0E28CC068C4D3B461BC98950 /* Pods-CocoaPodsExampleTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - INFOPLIST_FILE = CocoaPodsExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsExample.app/CocoaPodsExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E83EBA791AFAB18F0026370F /* Build configuration list for PBXProject "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E83EBA9F1AFAB18F0026370F /* Debug */, - E83EBAA01AFAB18F0026370F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E83EBAA11AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E83EBAA21AFAB18F0026370F /* Debug */, - E83EBAA31AFAB18F0026370F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E83EBAA41AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E83EBAA51AFAB18F0026370F /* Debug */, - E83EBAA61AFAB18F0026370F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E83EBA761AFAB18F0026370F /* Project object */; -} diff --git a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.h b/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.h deleted file mode 100644 index 1c8e58ba43..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.h +++ /dev/null @@ -1,29 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import - -@interface MyModel : RLMObject -@end - -@interface AppDelegate : UIResponder - -@property (strong, nonatomic) UIWindow *window; - -@end diff --git a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.m b/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.m deleted file mode 100644 index 9be06edef8..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.m +++ /dev/null @@ -1,30 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "AppDelegate.h" - -@implementation MyModel -@end - -@implementation AppDelegate - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - return YES; -} - -@end diff --git a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib b/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib deleted file mode 100644 index eac286fe26..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard b/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard deleted file mode 100644 index d912f9d76b..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 118c98f746..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Info.plist b/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Info.plist deleted file mode 100644 index 6905cc67bb..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/ViewController.h b/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/ViewController.h deleted file mode 100644 index bd3a4d807a..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/ViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -@interface ViewController : UIViewController - - -@end - diff --git a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/ViewController.m b/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/ViewController.m deleted file mode 100644 index dbe4e747e8..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/ViewController.m +++ /dev/null @@ -1,37 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "ViewController.h" - -@interface ViewController () - -@end - -@implementation ViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - // Do any additional setup after loading the view, typically from a nib. -} - -- (void)didReceiveMemoryWarning { - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. -} - -@end diff --git a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/main.m b/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/main.m deleted file mode 100644 index 4a49435635..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExample/main.m +++ /dev/null @@ -1,26 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import "AppDelegate.h" - -int main(int argc, char * argv[]) { - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); - } -} diff --git a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.m b/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.m deleted file mode 100644 index ca91baffde..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.m +++ /dev/null @@ -1,32 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -#import "AppDelegate.h" - -@interface CocoaPodsExampleTests : XCTestCase -@end - -@implementation CocoaPodsExampleTests - -- (void)testExample { - XCTAssertTrue([MyModel isSubclassOfClass:[RLMObject class]]); -} - -@end diff --git a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExampleTests/Info.plist b/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsExample/CocoaPodsExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/catalyst/objc/CocoaPodsExample/Podfile b/examples/installation/catalyst/objc/CocoaPodsExample/Podfile deleted file mode 100644 index 53ebf33024..0000000000 --- a/examples/installation/catalyst/objc/CocoaPodsExample/Podfile +++ /dev/null @@ -1,20 +0,0 @@ -# Uncomment this line to define a global platform for your project -platform :ios, '11.0' - -branch = ENV['sha'] - -target 'CocoaPodsExample' do - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch, submodules: true -end - -target 'CocoaPodsExampleTests' do - pod 'Realm/Headers', git: 'https://github.com/realm/realm-swift.git', branch: branch, submodules: true -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - config.build_settings['GCC_GENERATE_DEBUGGING_SYMBOLS'] = 'NO' - end - end -end diff --git a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj b/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj deleted file mode 100644 index 1c606b5b04..0000000000 --- a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,583 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 17EB4D4F2F19EBBDA81280F3 /* Pods_CocoaPodsExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 82C2368D1525F05D7D2389C1 /* Pods_CocoaPodsExample.framework */; }; - 8C576D4F25BA4E58C332EBAF /* Pods_CocoaPodsExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 04E3E52794C088A4BE1DD6A7 /* Pods_CocoaPodsExampleTests.framework */; }; - E804A95C1AFAB8C100CCAE65 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E804A95B1AFAB8C100CCAE65 /* AppDelegate.swift */; }; - E804A95E1AFAB8C100CCAE65 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E804A95D1AFAB8C100CCAE65 /* ViewController.swift */; }; - E804A9611AFAB8C100CCAE65 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E804A95F1AFAB8C100CCAE65 /* Main.storyboard */; }; - E804A9631AFAB8C100CCAE65 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E804A9621AFAB8C100CCAE65 /* Images.xcassets */; }; - E804A9661AFAB8C100CCAE65 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = E804A9641AFAB8C100CCAE65 /* LaunchScreen.xib */; }; - E804A9721AFAB8C100CCAE65 /* CocoaPodsExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E804A9711AFAB8C100CCAE65 /* CocoaPodsExampleTests.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E804A96C1AFAB8C100CCAE65 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E804A94E1AFAB8C000CCAE65 /* Project object */; - proxyType = 1; - remoteGlobalIDString = E804A9551AFAB8C000CCAE65; - remoteInfo = CocoaPodsExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 04E3E52794C088A4BE1DD6A7 /* Pods_CocoaPodsExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CocoaPodsExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 2ADC9100D18B2BAC30B680DD /* Pods-CocoaPodsExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests.release.xcconfig"; sourceTree = ""; }; - 71E30B1C52460F5A680653A0 /* Pods-CocoaPodsExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests.debug.xcconfig"; sourceTree = ""; }; - 82C2368D1525F05D7D2389C1 /* Pods_CocoaPodsExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CocoaPodsExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 976909381633C824B2BB0356 /* Pods-CocoaPodsExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample.release.xcconfig"; sourceTree = ""; }; - CFADA798255C000B00356CA1 /* CocoaPodsExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = CocoaPodsExample.entitlements; sourceTree = ""; }; - DA72870271BBDD4918F5C212 /* Pods-CocoaPodsExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample.debug.xcconfig"; sourceTree = ""; }; - E804A9561AFAB8C100CCAE65 /* CocoaPodsExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CocoaPodsExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E804A95A1AFAB8C100CCAE65 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E804A95B1AFAB8C100CCAE65 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - E804A95D1AFAB8C100CCAE65 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - E804A9601AFAB8C100CCAE65 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E804A9621AFAB8C100CCAE65 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E804A9651AFAB8C100CCAE65 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - E804A96B1AFAB8C100CCAE65 /* CocoaPodsExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CocoaPodsExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E804A9701AFAB8C100CCAE65 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E804A9711AFAB8C100CCAE65 /* CocoaPodsExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CocoaPodsExampleTests.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E804A9531AFAB8C000CCAE65 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 17EB4D4F2F19EBBDA81280F3 /* Pods_CocoaPodsExample.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E804A9681AFAB8C100CCAE65 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 8C576D4F25BA4E58C332EBAF /* Pods_CocoaPodsExampleTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 0515F0ED02DFB6BAE60A31F6 /* Pods */ = { - isa = PBXGroup; - children = ( - DA72870271BBDD4918F5C212 /* Pods-CocoaPodsExample.debug.xcconfig */, - 976909381633C824B2BB0356 /* Pods-CocoaPodsExample.release.xcconfig */, - 71E30B1C52460F5A680653A0 /* Pods-CocoaPodsExampleTests.debug.xcconfig */, - 2ADC9100D18B2BAC30B680DD /* Pods-CocoaPodsExampleTests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; - 37FB61E2D478C92E6DCBB632 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 82C2368D1525F05D7D2389C1 /* Pods_CocoaPodsExample.framework */, - 04E3E52794C088A4BE1DD6A7 /* Pods_CocoaPodsExampleTests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - E804A94D1AFAB8C000CCAE65 = { - isa = PBXGroup; - children = ( - E804A9581AFAB8C100CCAE65 /* CocoaPodsExample */, - E804A96E1AFAB8C100CCAE65 /* CocoaPodsExampleTests */, - 37FB61E2D478C92E6DCBB632 /* Frameworks */, - 0515F0ED02DFB6BAE60A31F6 /* Pods */, - E804A9571AFAB8C100CCAE65 /* Products */, - ); - sourceTree = ""; - }; - E804A9571AFAB8C100CCAE65 /* Products */ = { - isa = PBXGroup; - children = ( - E804A9561AFAB8C100CCAE65 /* CocoaPodsExample.app */, - E804A96B1AFAB8C100CCAE65 /* CocoaPodsExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E804A9581AFAB8C100CCAE65 /* CocoaPodsExample */ = { - isa = PBXGroup; - children = ( - CFADA798255C000B00356CA1 /* CocoaPodsExample.entitlements */, - E804A9591AFAB8C100CCAE65 /* Supporting Files */, - E804A95B1AFAB8C100CCAE65 /* AppDelegate.swift */, - E804A9621AFAB8C100CCAE65 /* Images.xcassets */, - E804A9641AFAB8C100CCAE65 /* LaunchScreen.xib */, - E804A95F1AFAB8C100CCAE65 /* Main.storyboard */, - E804A95D1AFAB8C100CCAE65 /* ViewController.swift */, - ); - path = CocoaPodsExample; - sourceTree = ""; - }; - E804A9591AFAB8C100CCAE65 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E804A95A1AFAB8C100CCAE65 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E804A96E1AFAB8C100CCAE65 /* CocoaPodsExampleTests */ = { - isa = PBXGroup; - children = ( - E804A96F1AFAB8C100CCAE65 /* Supporting Files */, - E804A9711AFAB8C100CCAE65 /* CocoaPodsExampleTests.swift */, - ); - path = CocoaPodsExampleTests; - sourceTree = ""; - }; - E804A96F1AFAB8C100CCAE65 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E804A9701AFAB8C100CCAE65 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E804A9551AFAB8C000CCAE65 /* CocoaPodsExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E804A9751AFAB8C100CCAE65 /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */; - buildPhases = ( - 73CA85A780DDC8E79E313187 /* [CP] Check Pods Manifest.lock */, - E804A9521AFAB8C000CCAE65 /* Sources */, - E804A9531AFAB8C000CCAE65 /* Frameworks */, - E804A9541AFAB8C000CCAE65 /* Resources */, - 9984DA9057E125F0A0F22D3A /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = CocoaPodsExample; - productName = CocoaPodsExample; - productReference = E804A9561AFAB8C100CCAE65 /* CocoaPodsExample.app */; - productType = "com.apple.product-type.application"; - }; - E804A96A1AFAB8C100CCAE65 /* CocoaPodsExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E804A9781AFAB8C100CCAE65 /* Build configuration list for PBXNativeTarget "CocoaPodsExampleTests" */; - buildPhases = ( - 26913120C8A66DDEF358C3D1 /* [CP] Check Pods Manifest.lock */, - E804A9671AFAB8C100CCAE65 /* Sources */, - E804A9681AFAB8C100CCAE65 /* Frameworks */, - E804A9691AFAB8C100CCAE65 /* Resources */, - 0DB006C701EE2394A76B07DE /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - E804A96D1AFAB8C100CCAE65 /* PBXTargetDependency */, - ); - name = CocoaPodsExampleTests; - productName = CocoaPodsExampleTests; - productReference = E804A96B1AFAB8C100CCAE65 /* CocoaPodsExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E804A94E1AFAB8C000CCAE65 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0710; - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E804A9551AFAB8C000CCAE65 = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 1020; - }; - E804A96A1AFAB8C100CCAE65 = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 1020; - TestTargetID = E804A9551AFAB8C000CCAE65; - }; - }; - }; - buildConfigurationList = E804A9511AFAB8C000CCAE65 /* Build configuration list for PBXProject "CocoaPodsExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - English, - en, - Base, - ); - mainGroup = E804A94D1AFAB8C000CCAE65; - productRefGroup = E804A9571AFAB8C100CCAE65 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E804A9551AFAB8C000CCAE65 /* CocoaPodsExample */, - E804A96A1AFAB8C100CCAE65 /* CocoaPodsExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E804A9541AFAB8C000CCAE65 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E804A9631AFAB8C100CCAE65 /* Images.xcassets in Resources */, - E804A9661AFAB8C100CCAE65 /* LaunchScreen.xib in Resources */, - E804A9611AFAB8C100CCAE65 /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E804A9691AFAB8C100CCAE65 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 0DB006C701EE2394A76B07DE /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Realm/Realm.framework", - "${BUILT_PRODUCTS_DIR}/RealmSwift/RealmSwift.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RealmSwift.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 26913120C8A66DDEF358C3D1 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsExampleTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 73CA85A780DDC8E79E313187 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsExample-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 9984DA9057E125F0A0F22D3A /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Realm/Realm.framework", - "${BUILT_PRODUCTS_DIR}/RealmSwift/RealmSwift.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RealmSwift.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E804A9521AFAB8C000CCAE65 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E804A95C1AFAB8C100CCAE65 /* AppDelegate.swift in Sources */, - E804A95E1AFAB8C100CCAE65 /* ViewController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E804A9671AFAB8C100CCAE65 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E804A9721AFAB8C100CCAE65 /* CocoaPodsExampleTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E804A96D1AFAB8C100CCAE65 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E804A9551AFAB8C000CCAE65 /* CocoaPodsExample */; - targetProxy = E804A96C1AFAB8C100CCAE65 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E804A95F1AFAB8C100CCAE65 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E804A9601AFAB8C100CCAE65 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - E804A9641AFAB8C100CCAE65 /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - E804A9651AFAB8C100CCAE65 /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E804A9731AFAB8C100CCAE65 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MACOSX_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - E804A9741AFAB8C100CCAE65 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MACOSX_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E804A9761AFAB8C100CCAE65 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = DA72870271BBDD4918F5C212 /* Pods-CocoaPodsExample.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_ENTITLEMENTS = CocoaPodsExample/CocoaPodsExample.entitlements; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTS_MACCATALYST = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - E804A9771AFAB8C100CCAE65 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 976909381633C824B2BB0356 /* Pods-CocoaPodsExample.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_ENTITLEMENTS = CocoaPodsExample/CocoaPodsExample.entitlements; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTS_MACCATALYST = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - E804A9791AFAB8C100CCAE65 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 71E30B1C52460F5A680653A0 /* Pods-CocoaPodsExampleTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = CocoaPodsExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsExample.app/CocoaPodsExample"; - }; - name = Debug; - }; - E804A97A1AFAB8C100CCAE65 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2ADC9100D18B2BAC30B680DD /* Pods-CocoaPodsExampleTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - INFOPLIST_FILE = CocoaPodsExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsExample.app/CocoaPodsExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E804A9511AFAB8C000CCAE65 /* Build configuration list for PBXProject "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E804A9731AFAB8C100CCAE65 /* Debug */, - E804A9741AFAB8C100CCAE65 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E804A9751AFAB8C100CCAE65 /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E804A9761AFAB8C100CCAE65 /* Debug */, - E804A9771AFAB8C100CCAE65 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E804A9781AFAB8C100CCAE65 /* Build configuration list for PBXNativeTarget "CocoaPodsExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E804A9791AFAB8C100CCAE65 /* Debug */, - E804A97A1AFAB8C100CCAE65 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E804A94E1AFAB8C000CCAE65 /* Project object */; -} diff --git a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/AppDelegate.swift b/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/AppDelegate.swift deleted file mode 100644 index 014ae20263..0000000000 --- a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/AppDelegate.swift +++ /dev/null @@ -1,33 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit -import RealmSwift - -open class MyModel: Object { - @objc dynamic var requiredProperty: String? -} - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - var window: UIWindow? - - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool { - return true - } -} diff --git a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib b/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib deleted file mode 100644 index eac286fe26..0000000000 --- a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard b/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard deleted file mode 100644 index 52ea29ebae..0000000000 --- a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/CocoaPodsExample.entitlements b/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/CocoaPodsExample.entitlements deleted file mode 100644 index ee95ab7e58..0000000000 --- a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/CocoaPodsExample.entitlements +++ /dev/null @@ -1,10 +0,0 @@ - - - - - com.apple.security.app-sandbox - - com.apple.security.network.client - - - diff --git a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 81213230de..0000000000 --- a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "20x20" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "20x20" - }, - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "29x29" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "29x29" - }, - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "40x40" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "40x40" - }, - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "60x60" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "60x60" - }, - { - "idiom" : "ios-marketing", - "scale" : "1x", - "size" : "1024x1024" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Info.plist b/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Info.plist deleted file mode 100644 index 6905cc67bb..0000000000 --- a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/ViewController.swift b/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/ViewController.swift deleted file mode 100644 index a5b01c4f0a..0000000000 --- a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExample/ViewController.swift +++ /dev/null @@ -1,34 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit - -class ViewController: UIViewController { - - override func viewDidLoad() { - super.viewDidLoad() - // Do any additional setup after loading the view, typically from a nib. - } - - override func didReceiveMemoryWarning() { - super.didReceiveMemoryWarning() - // Dispose of any resources that can be recreated. - } - - -} diff --git a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.swift b/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.swift deleted file mode 100644 index 630297c2dd..0000000000 --- a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.swift +++ /dev/null @@ -1,29 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit -import XCTest -import CocoaPodsExample -import RealmSwift - -class CocoaPodsExampleTests: XCTestCase { - func testExample() { - // This is an example of a functional test case. - XCTAssertNotNil(MyModel() as AnyObject is Object) - } -} diff --git a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExampleTests/Info.plist b/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/catalyst/swift/CocoaPodsExample/CocoaPodsExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/catalyst/swift/CocoaPodsExample/Podfile b/examples/installation/catalyst/swift/CocoaPodsExample/Podfile deleted file mode 100644 index cde3a60bad..0000000000 --- a/examples/installation/catalyst/swift/CocoaPodsExample/Podfile +++ /dev/null @@ -1,24 +0,0 @@ -# Uncomment this line to define a global platform for your project -platform :ios, '11.0' - -branch = ENV['sha'] - -target 'CocoaPodsExample' do - use_frameworks! - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch, submodules: true - pod 'RealmSwift', git: 'https://github.com/realm/realm-swift.git', branch: branch, submodules: true -end - -target 'CocoaPodsExampleTests' do - use_frameworks! - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch, submodules: true - pod 'RealmSwift', git: 'https://github.com/realm/realm-swift.git', branch: branch, submodules: true -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - config.build_settings['GCC_GENERATE_DEBUGGING_SYMBOLS'] = 'NO' - end - end -end diff --git a/examples/installation/ios/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj b/examples/installation/ios/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj deleted file mode 100644 index 52bc68b89e..0000000000 --- a/examples/installation/ios/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,519 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 3F45205829159716008F07AD /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F4520572915970B008F07AD /* libc++.tbd */; }; - 3F45205A29159723008F07AD /* libcompression.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F4520592915971C008F07AD /* libcompression.tbd */; }; - 3F45205C29159731008F07AD /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F45205B29159729008F07AD /* libz.tbd */; }; - 3F636A6429146EDA00DB1CBC /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F636A6329146EDA00DB1CBC /* Realm.xcframework */; }; - 3F636A6529146EDA00DB1CBC /* Realm.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3F636A6329146EDA00DB1CBC /* Realm.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - E8F8D99A1B0177C10098F6CD /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E8F8D9991B0177C10098F6CD /* main.m */; }; - E8F8D99D1B0177C10098F6CD /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E8F8D99C1B0177C10098F6CD /* AppDelegate.m */; }; - E8F8D9A01B0177C10098F6CD /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8F8D99F1B0177C10098F6CD /* ViewController.m */; }; - E8F8D9A31B0177C10098F6CD /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8F8D9A11B0177C10098F6CD /* Main.storyboard */; }; - E8F8D9A51B0177C10098F6CD /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E8F8D9A41B0177C10098F6CD /* Images.xcassets */; }; - E8F8D9A81B0177C10098F6CD /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = E8F8D9A61B0177C10098F6CD /* LaunchScreen.xib */; }; - E8F8D9B41B0177C10098F6CD /* CarthageExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E8F8D9B31B0177C10098F6CD /* CarthageExampleTests.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8F8D9AE1B0177C10098F6CD /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8F8D98C1B0177C10098F6CD /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8F8D9931B0177C10098F6CD; - remoteInfo = CarthageExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 3F636A6629146EDA00DB1CBC /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 3F636A6529146EDA00DB1CBC /* Realm.xcframework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 3F4520572915970B008F07AD /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; - 3F4520592915971C008F07AD /* libcompression.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libcompression.tbd; path = usr/lib/libcompression.tbd; sourceTree = SDKROOT; }; - 3F45205B29159729008F07AD /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; - 3F636A6329146EDA00DB1CBC /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = Carthage/Build/Realm.xcframework; sourceTree = ""; }; - E8F8D9941B0177C10098F6CD /* CarthageExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CarthageExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8F8D9981B0177C10098F6CD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8F8D9991B0177C10098F6CD /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E8F8D99B1B0177C10098F6CD /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - E8F8D99C1B0177C10098F6CD /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - E8F8D99E1B0177C10098F6CD /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - E8F8D99F1B0177C10098F6CD /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - E8F8D9A21B0177C10098F6CD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E8F8D9A41B0177C10098F6CD /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E8F8D9A71B0177C10098F6CD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - E8F8D9AD1B0177C10098F6CD /* CarthageExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CarthageExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E8F8D9B21B0177C10098F6CD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8F8D9B31B0177C10098F6CD /* CarthageExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CarthageExampleTests.m; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8F8D9911B0177C10098F6CD /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3F45205829159716008F07AD /* libc++.tbd in Frameworks */, - 3F45205A29159723008F07AD /* libcompression.tbd in Frameworks */, - 3F45205C29159731008F07AD /* libz.tbd in Frameworks */, - 3F636A6429146EDA00DB1CBC /* Realm.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8F8D9AA1B0177C10098F6CD /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 3F636A6229146EDA00DB1CBC /* Frameworks */ = { - isa = PBXGroup; - children = ( - 3F4520572915970B008F07AD /* libc++.tbd */, - 3F4520592915971C008F07AD /* libcompression.tbd */, - 3F45205B29159729008F07AD /* libz.tbd */, - 3F636A6329146EDA00DB1CBC /* Realm.xcframework */, - ); - name = Frameworks; - sourceTree = ""; - }; - E8F8D98B1B0177C10098F6CD = { - isa = PBXGroup; - children = ( - E8F8D9961B0177C10098F6CD /* CarthageExample */, - E8F8D9B01B0177C10098F6CD /* CarthageExampleTests */, - 3F636A6229146EDA00DB1CBC /* Frameworks */, - E8F8D9951B0177C10098F6CD /* Products */, - ); - sourceTree = ""; - }; - E8F8D9951B0177C10098F6CD /* Products */ = { - isa = PBXGroup; - children = ( - E8F8D9941B0177C10098F6CD /* CarthageExample.app */, - E8F8D9AD1B0177C10098F6CD /* CarthageExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E8F8D9961B0177C10098F6CD /* CarthageExample */ = { - isa = PBXGroup; - children = ( - E8F8D9971B0177C10098F6CD /* Supporting Files */, - E8F8D99B1B0177C10098F6CD /* AppDelegate.h */, - E8F8D99C1B0177C10098F6CD /* AppDelegate.m */, - E8F8D9A41B0177C10098F6CD /* Images.xcassets */, - E8F8D9A61B0177C10098F6CD /* LaunchScreen.xib */, - E8F8D9A11B0177C10098F6CD /* Main.storyboard */, - E8F8D99E1B0177C10098F6CD /* ViewController.h */, - E8F8D99F1B0177C10098F6CD /* ViewController.m */, - ); - path = CarthageExample; - sourceTree = ""; - }; - E8F8D9971B0177C10098F6CD /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8F8D9981B0177C10098F6CD /* Info.plist */, - E8F8D9991B0177C10098F6CD /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E8F8D9B01B0177C10098F6CD /* CarthageExampleTests */ = { - isa = PBXGroup; - children = ( - E8F8D9B11B0177C10098F6CD /* Supporting Files */, - E8F8D9B31B0177C10098F6CD /* CarthageExampleTests.m */, - ); - path = CarthageExampleTests; - sourceTree = ""; - }; - E8F8D9B11B0177C10098F6CD /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8F8D9B21B0177C10098F6CD /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8F8D9931B0177C10098F6CD /* CarthageExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8F8D9B71B0177C10098F6CD /* Build configuration list for PBXNativeTarget "CarthageExample" */; - buildPhases = ( - E8F8D9901B0177C10098F6CD /* Sources */, - E8F8D9911B0177C10098F6CD /* Frameworks */, - E8F8D9921B0177C10098F6CD /* Resources */, - 3F636A6629146EDA00DB1CBC /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = CarthageExample; - productName = CarthageExample; - productReference = E8F8D9941B0177C10098F6CD /* CarthageExample.app */; - productType = "com.apple.product-type.application"; - }; - E8F8D9AC1B0177C10098F6CD /* CarthageExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8F8D9BA1B0177C10098F6CD /* Build configuration list for PBXNativeTarget "CarthageExampleTests" */; - buildPhases = ( - E8F8D9A91B0177C10098F6CD /* Sources */, - E8F8D9AA1B0177C10098F6CD /* Frameworks */, - E8F8D9AB1B0177C10098F6CD /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E8F8D9AF1B0177C10098F6CD /* PBXTargetDependency */, - ); - name = CarthageExampleTests; - productName = CarthageExampleTests; - productReference = E8F8D9AD1B0177C10098F6CD /* CarthageExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8F8D98C1B0177C10098F6CD /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8F8D9931B0177C10098F6CD = { - CreatedOnToolsVersion = 6.3.1; - }; - E8F8D9AC1B0177C10098F6CD = { - CreatedOnToolsVersion = 6.3.1; - TestTargetID = E8F8D9931B0177C10098F6CD; - }; - }; - }; - buildConfigurationList = E8F8D98F1B0177C10098F6CD /* Build configuration list for PBXProject "CarthageExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - English, - en, - Base, - ); - mainGroup = E8F8D98B1B0177C10098F6CD; - productRefGroup = E8F8D9951B0177C10098F6CD /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8F8D9931B0177C10098F6CD /* CarthageExample */, - E8F8D9AC1B0177C10098F6CD /* CarthageExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8F8D9921B0177C10098F6CD /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8F8D9A51B0177C10098F6CD /* Images.xcassets in Resources */, - E8F8D9A81B0177C10098F6CD /* LaunchScreen.xib in Resources */, - E8F8D9A31B0177C10098F6CD /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8F8D9AB1B0177C10098F6CD /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8F8D9901B0177C10098F6CD /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8F8D99D1B0177C10098F6CD /* AppDelegate.m in Sources */, - E8F8D99A1B0177C10098F6CD /* main.m in Sources */, - E8F8D9A01B0177C10098F6CD /* ViewController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8F8D9A91B0177C10098F6CD /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8F8D9B41B0177C10098F6CD /* CarthageExampleTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8F8D9AF1B0177C10098F6CD /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8F8D9931B0177C10098F6CD /* CarthageExample */; - targetProxy = E8F8D9AE1B0177C10098F6CD /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8F8D9A11B0177C10098F6CD /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8F8D9A21B0177C10098F6CD /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - E8F8D9A61B0177C10098F6CD /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - E8F8D9A71B0177C10098F6CD /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8F8D9B51B0177C10098F6CD /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Carthage/Build/iOS"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - }; - name = Debug; - }; - E8F8D9B61B0177C10098F6CD /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Carthage/Build/iOS"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E8F8D9B81B0177C10098F6CD /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = CarthageExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - E8F8D9B91B0177C10098F6CD /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = CarthageExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; - E8F8D9BB1B0177C10098F6CD /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = CarthageExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CarthageExample.app/CarthageExample"; - }; - name = Debug; - }; - E8F8D9BC1B0177C10098F6CD /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = CarthageExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CarthageExample.app/CarthageExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8F8D98F1B0177C10098F6CD /* Build configuration list for PBXProject "CarthageExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8F8D9B51B0177C10098F6CD /* Debug */, - E8F8D9B61B0177C10098F6CD /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8F8D9B71B0177C10098F6CD /* Build configuration list for PBXNativeTarget "CarthageExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8F8D9B81B0177C10098F6CD /* Debug */, - E8F8D9B91B0177C10098F6CD /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8F8D9BA1B0177C10098F6CD /* Build configuration list for PBXNativeTarget "CarthageExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8F8D9BB1B0177C10098F6CD /* Debug */, - E8F8D9BC1B0177C10098F6CD /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8F8D98C1B0177C10098F6CD /* Project object */; -} diff --git a/examples/installation/ios/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme b/examples/installation/ios/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme deleted file mode 100644 index 71752adf48..0000000000 --- a/examples/installation/ios/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/CarthageExample/CarthageExample/AppDelegate.h b/examples/installation/ios/objc/CarthageExample/CarthageExample/AppDelegate.h deleted file mode 100644 index 411429e6ff..0000000000 --- a/examples/installation/ios/objc/CarthageExample/CarthageExample/AppDelegate.h +++ /dev/null @@ -1,29 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import - -@interface MyModel : RLMObject -@end - -@interface AppDelegate : UIResponder - -@property (strong, nonatomic) UIWindow *window; - -@end diff --git a/examples/installation/ios/objc/CarthageExample/CarthageExample/AppDelegate.m b/examples/installation/ios/objc/CarthageExample/CarthageExample/AppDelegate.m deleted file mode 100644 index 13ca05f37a..0000000000 --- a/examples/installation/ios/objc/CarthageExample/CarthageExample/AppDelegate.m +++ /dev/null @@ -1,30 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "AppDelegate.h" - -@implementation MyModel -@end - -@implementation AppDelegate - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - return YES; -} - -@end diff --git a/examples/installation/ios/objc/CarthageExample/CarthageExample/Base.lproj/LaunchScreen.xib b/examples/installation/ios/objc/CarthageExample/CarthageExample/Base.lproj/LaunchScreen.xib deleted file mode 100644 index f41face980..0000000000 --- a/examples/installation/ios/objc/CarthageExample/CarthageExample/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/CarthageExample/CarthageExample/Base.lproj/Main.storyboard b/examples/installation/ios/objc/CarthageExample/CarthageExample/Base.lproj/Main.storyboard deleted file mode 100644 index d912f9d76b..0000000000 --- a/examples/installation/ios/objc/CarthageExample/CarthageExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/ios/objc/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 118c98f746..0000000000 --- a/examples/installation/ios/objc/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/ios/objc/CarthageExample/CarthageExample/Info.plist b/examples/installation/ios/objc/CarthageExample/CarthageExample/Info.plist deleted file mode 100644 index 6905cc67bb..0000000000 --- a/examples/installation/ios/objc/CarthageExample/CarthageExample/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/ios/objc/CarthageExample/CarthageExample/ViewController.h b/examples/installation/ios/objc/CarthageExample/CarthageExample/ViewController.h deleted file mode 100644 index 354eb0b1d4..0000000000 --- a/examples/installation/ios/objc/CarthageExample/CarthageExample/ViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -@interface ViewController : UIViewController - - -@end - diff --git a/examples/installation/ios/objc/CarthageExample/CarthageExample/ViewController.m b/examples/installation/ios/objc/CarthageExample/CarthageExample/ViewController.m deleted file mode 100644 index 944bdbebda..0000000000 --- a/examples/installation/ios/objc/CarthageExample/CarthageExample/ViewController.m +++ /dev/null @@ -1,37 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "ViewController.h" - -@interface ViewController () - -@end - -@implementation ViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - // Do any additional setup after loading the view, typically from a nib. -} - -- (void)didReceiveMemoryWarning { - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. -} - -@end diff --git a/examples/installation/ios/objc/CarthageExample/CarthageExample/main.m b/examples/installation/ios/objc/CarthageExample/CarthageExample/main.m deleted file mode 100644 index 83f68d00d1..0000000000 --- a/examples/installation/ios/objc/CarthageExample/CarthageExample/main.m +++ /dev/null @@ -1,26 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import "AppDelegate.h" - -int main(int argc, char * argv[]) { - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); - } -} diff --git a/examples/installation/ios/objc/CarthageExample/CarthageExampleTests/CarthageExampleTests.m b/examples/installation/ios/objc/CarthageExample/CarthageExampleTests/CarthageExampleTests.m deleted file mode 100644 index 27da3aff00..0000000000 --- a/examples/installation/ios/objc/CarthageExample/CarthageExampleTests/CarthageExampleTests.m +++ /dev/null @@ -1,32 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -#import "AppDelegate.h" - -@interface CarthageExampleTests : XCTestCase -@end - -@implementation CarthageExampleTests - -- (void)testExample { - XCTAssertTrue([MyModel isSubclassOfClass:[RLMObject class]]); -} - -@end diff --git a/examples/installation/ios/objc/CarthageExample/CarthageExampleTests/Info.plist b/examples/installation/ios/objc/CarthageExample/CarthageExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/ios/objc/CarthageExample/CarthageExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj b/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj deleted file mode 100644 index b7aaa99c52..0000000000 --- a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,567 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - C0148A9D4A5C0AD6429A66AB /* Pods_CocoaPodsDynamicExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 880C2B8AC140B60EC776FE9E /* Pods_CocoaPodsDynamicExample.framework */; }; - E83EBA841AFAB18F0026370F /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA831AFAB18F0026370F /* main.m */; }; - E83EBA871AFAB18F0026370F /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA861AFAB18F0026370F /* AppDelegate.m */; }; - E83EBA8A1AFAB18F0026370F /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA891AFAB18F0026370F /* ViewController.m */; }; - E83EBA8D1AFAB18F0026370F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E83EBA8B1AFAB18F0026370F /* Main.storyboard */; }; - E83EBA8F1AFAB18F0026370F /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E83EBA8E1AFAB18F0026370F /* Images.xcassets */; }; - E83EBA921AFAB18F0026370F /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = E83EBA901AFAB18F0026370F /* LaunchScreen.xib */; }; - E83EBA9E1AFAB18F0026370F /* CocoaPodsDynamicExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA9D1AFAB18F0026370F /* CocoaPodsDynamicExampleTests.m */; }; - EF3CB77B4540C77C48DE1F61 /* Pods_CocoaPodsDynamicExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 38775EEA9202521AF68834C9 /* Pods_CocoaPodsDynamicExampleTests.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E83EBA981AFAB18F0026370F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E83EBA761AFAB18F0026370F /* Project object */; - proxyType = 1; - remoteGlobalIDString = E83EBA7D1AFAB18F0026370F; - remoteInfo = CocoaPodsDynamicExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 1F604F3951A2C3F7424C28F6 /* Pods-CocoaPodsDynamicExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsDynamicExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsDynamicExampleTests/Pods-CocoaPodsDynamicExampleTests.debug.xcconfig"; sourceTree = ""; }; - 38775EEA9202521AF68834C9 /* Pods_CocoaPodsDynamicExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CocoaPodsDynamicExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 47CCD44A389991B90B394879 /* Pods-CocoaPodsDynamicExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsDynamicExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsDynamicExample/Pods-CocoaPodsDynamicExample.release.xcconfig"; sourceTree = ""; }; - 597F1186F52214A56E572216 /* Pods-CocoaPodsDynamicExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsDynamicExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsDynamicExample/Pods-CocoaPodsDynamicExample.debug.xcconfig"; sourceTree = ""; }; - 880C2B8AC140B60EC776FE9E /* Pods_CocoaPodsDynamicExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CocoaPodsDynamicExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - E0E7012D577514D49C90BB93 /* Pods-CocoaPodsDynamicExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsDynamicExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsDynamicExampleTests/Pods-CocoaPodsDynamicExampleTests.release.xcconfig"; sourceTree = ""; }; - E83EBA7E1AFAB18F0026370F /* CocoaPodsDynamicExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CocoaPodsDynamicExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E83EBA821AFAB18F0026370F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E83EBA831AFAB18F0026370F /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E83EBA851AFAB18F0026370F /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - E83EBA861AFAB18F0026370F /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - E83EBA881AFAB18F0026370F /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - E83EBA891AFAB18F0026370F /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - E83EBA8C1AFAB18F0026370F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E83EBA8E1AFAB18F0026370F /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E83EBA911AFAB18F0026370F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - E83EBA971AFAB18F0026370F /* CocoaPodsDynamicExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CocoaPodsDynamicExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E83EBA9C1AFAB18F0026370F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E83EBA9D1AFAB18F0026370F /* CocoaPodsDynamicExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CocoaPodsDynamicExampleTests.m; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E83EBA7B1AFAB18F0026370F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C0148A9D4A5C0AD6429A66AB /* Pods_CocoaPodsDynamicExample.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E83EBA941AFAB18F0026370F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - EF3CB77B4540C77C48DE1F61 /* Pods_CocoaPodsDynamicExampleTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 8EA830622410DC160C99A8AB /* Pods */ = { - isa = PBXGroup; - children = ( - 597F1186F52214A56E572216 /* Pods-CocoaPodsDynamicExample.debug.xcconfig */, - 47CCD44A389991B90B394879 /* Pods-CocoaPodsDynamicExample.release.xcconfig */, - 1F604F3951A2C3F7424C28F6 /* Pods-CocoaPodsDynamicExampleTests.debug.xcconfig */, - E0E7012D577514D49C90BB93 /* Pods-CocoaPodsDynamicExampleTests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; - B8A212B0FB656075020DD7FD /* Frameworks */ = { - isa = PBXGroup; - children = ( - 880C2B8AC140B60EC776FE9E /* Pods_CocoaPodsDynamicExample.framework */, - 38775EEA9202521AF68834C9 /* Pods_CocoaPodsDynamicExampleTests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - E83EBA751AFAB18F0026370F = { - isa = PBXGroup; - children = ( - E83EBA801AFAB18F0026370F /* CocoaPodsDynamicExample */, - E83EBA9A1AFAB18F0026370F /* CocoaPodsDynamicExampleTests */, - B8A212B0FB656075020DD7FD /* Frameworks */, - 8EA830622410DC160C99A8AB /* Pods */, - E83EBA7F1AFAB18F0026370F /* Products */, - ); - sourceTree = ""; - }; - E83EBA7F1AFAB18F0026370F /* Products */ = { - isa = PBXGroup; - children = ( - E83EBA7E1AFAB18F0026370F /* CocoaPodsDynamicExample.app */, - E83EBA971AFAB18F0026370F /* CocoaPodsDynamicExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E83EBA801AFAB18F0026370F /* CocoaPodsDynamicExample */ = { - isa = PBXGroup; - children = ( - E83EBA811AFAB18F0026370F /* Supporting Files */, - E83EBA851AFAB18F0026370F /* AppDelegate.h */, - E83EBA861AFAB18F0026370F /* AppDelegate.m */, - E83EBA8E1AFAB18F0026370F /* Images.xcassets */, - E83EBA901AFAB18F0026370F /* LaunchScreen.xib */, - E83EBA8B1AFAB18F0026370F /* Main.storyboard */, - E83EBA881AFAB18F0026370F /* ViewController.h */, - E83EBA891AFAB18F0026370F /* ViewController.m */, - ); - path = CocoaPodsDynamicExample; - sourceTree = ""; - }; - E83EBA811AFAB18F0026370F /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E83EBA821AFAB18F0026370F /* Info.plist */, - E83EBA831AFAB18F0026370F /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E83EBA9A1AFAB18F0026370F /* CocoaPodsDynamicExampleTests */ = { - isa = PBXGroup; - children = ( - E83EBA9B1AFAB18F0026370F /* Supporting Files */, - E83EBA9D1AFAB18F0026370F /* CocoaPodsDynamicExampleTests.m */, - ); - path = CocoaPodsDynamicExampleTests; - sourceTree = ""; - }; - E83EBA9B1AFAB18F0026370F /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E83EBA9C1AFAB18F0026370F /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E83EBA7D1AFAB18F0026370F /* CocoaPodsDynamicExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E83EBAA11AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsDynamicExample" */; - buildPhases = ( - 8A6E522948A70230F174BF82 /* [CP] Check Pods Manifest.lock */, - E83EBA7A1AFAB18F0026370F /* Sources */, - E83EBA7B1AFAB18F0026370F /* Frameworks */, - E83EBA7C1AFAB18F0026370F /* Resources */, - 7250210E2F97E71040A424C8 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = CocoaPodsDynamicExample; - productName = CocoaPodsDynamicExample; - productReference = E83EBA7E1AFAB18F0026370F /* CocoaPodsDynamicExample.app */; - productType = "com.apple.product-type.application"; - }; - E83EBA961AFAB18F0026370F /* CocoaPodsDynamicExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E83EBAA41AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsDynamicExampleTests" */; - buildPhases = ( - C1181F6457BE50E501F9CD21 /* [CP] Check Pods Manifest.lock */, - E83EBA931AFAB18F0026370F /* Sources */, - E83EBA941AFAB18F0026370F /* Frameworks */, - E83EBA951AFAB18F0026370F /* Resources */, - F10C3E376B76263688EC2F10 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - E83EBA991AFAB18F0026370F /* PBXTargetDependency */, - ); - name = CocoaPodsDynamicExampleTests; - productName = CocoaPodsDynamicExampleTests; - productReference = E83EBA971AFAB18F0026370F /* CocoaPodsDynamicExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E83EBA761AFAB18F0026370F /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E83EBA7D1AFAB18F0026370F = { - CreatedOnToolsVersion = 6.3.1; - }; - E83EBA961AFAB18F0026370F = { - CreatedOnToolsVersion = 6.3.1; - TestTargetID = E83EBA7D1AFAB18F0026370F; - }; - }; - }; - buildConfigurationList = E83EBA791AFAB18F0026370F /* Build configuration list for PBXProject "CocoaPodsDynamicExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E83EBA751AFAB18F0026370F; - productRefGroup = E83EBA7F1AFAB18F0026370F /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E83EBA7D1AFAB18F0026370F /* CocoaPodsDynamicExample */, - E83EBA961AFAB18F0026370F /* CocoaPodsDynamicExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E83EBA7C1AFAB18F0026370F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E83EBA8F1AFAB18F0026370F /* Images.xcassets in Resources */, - E83EBA921AFAB18F0026370F /* LaunchScreen.xib in Resources */, - E83EBA8D1AFAB18F0026370F /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E83EBA951AFAB18F0026370F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 7250210E2F97E71040A424C8 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-CocoaPodsDynamicExample/Pods-CocoaPodsDynamicExample-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Realm/Realm.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CocoaPodsDynamicExample/Pods-CocoaPodsDynamicExample-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 8A6E522948A70230F174BF82 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsDynamicExample-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - C1181F6457BE50E501F9CD21 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsDynamicExampleTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - F10C3E376B76263688EC2F10 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-CocoaPodsDynamicExampleTests/Pods-CocoaPodsDynamicExampleTests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Realm/Realm.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CocoaPodsDynamicExampleTests/Pods-CocoaPodsDynamicExampleTests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E83EBA7A1AFAB18F0026370F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E83EBA871AFAB18F0026370F /* AppDelegate.m in Sources */, - E83EBA841AFAB18F0026370F /* main.m in Sources */, - E83EBA8A1AFAB18F0026370F /* ViewController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E83EBA931AFAB18F0026370F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E83EBA9E1AFAB18F0026370F /* CocoaPodsDynamicExampleTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E83EBA991AFAB18F0026370F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E83EBA7D1AFAB18F0026370F /* CocoaPodsDynamicExample */; - targetProxy = E83EBA981AFAB18F0026370F /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E83EBA8B1AFAB18F0026370F /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E83EBA8C1AFAB18F0026370F /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - E83EBA901AFAB18F0026370F /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - E83EBA911AFAB18F0026370F /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E83EBA9F1AFAB18F0026370F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - }; - name = Debug; - }; - E83EBAA01AFAB18F0026370F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E83EBAA21AFAB18F0026370F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 597F1186F52214A56E572216 /* Pods-CocoaPodsDynamicExample.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = CocoaPodsDynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - E83EBAA31AFAB18F0026370F /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 47CCD44A389991B90B394879 /* Pods-CocoaPodsDynamicExample.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = CocoaPodsDynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; - E83EBAA51AFAB18F0026370F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1F604F3951A2C3F7424C28F6 /* Pods-CocoaPodsDynamicExampleTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = CocoaPodsDynamicExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsDynamicExample.app/CocoaPodsDynamicExample"; - }; - name = Debug; - }; - E83EBAA61AFAB18F0026370F /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E0E7012D577514D49C90BB93 /* Pods-CocoaPodsDynamicExampleTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - INFOPLIST_FILE = CocoaPodsDynamicExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsDynamicExample.app/CocoaPodsDynamicExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E83EBA791AFAB18F0026370F /* Build configuration list for PBXProject "CocoaPodsDynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E83EBA9F1AFAB18F0026370F /* Debug */, - E83EBAA01AFAB18F0026370F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E83EBAA11AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsDynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E83EBAA21AFAB18F0026370F /* Debug */, - E83EBAA31AFAB18F0026370F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E83EBAA41AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsDynamicExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E83EBAA51AFAB18F0026370F /* Debug */, - E83EBAA61AFAB18F0026370F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E83EBA761AFAB18F0026370F /* Project object */; -} diff --git a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsDynamicExample.xcscheme b/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsDynamicExample.xcscheme deleted file mode 100644 index 1a9c4aed57..0000000000 --- a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsDynamicExample.xcscheme +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.h b/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.h deleted file mode 100644 index 411429e6ff..0000000000 --- a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.h +++ /dev/null @@ -1,29 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import - -@interface MyModel : RLMObject -@end - -@interface AppDelegate : UIResponder - -@property (strong, nonatomic) UIWindow *window; - -@end diff --git a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.m b/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.m deleted file mode 100644 index 13ca05f37a..0000000000 --- a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/AppDelegate.m +++ /dev/null @@ -1,30 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "AppDelegate.h" - -@implementation MyModel -@end - -@implementation AppDelegate - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - return YES; -} - -@end diff --git a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Base.lproj/LaunchScreen.xib b/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Base.lproj/LaunchScreen.xib deleted file mode 100644 index d65fdc2348..0000000000 --- a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Base.lproj/Main.storyboard b/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Base.lproj/Main.storyboard deleted file mode 100644 index d912f9d76b..0000000000 --- a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 118c98f746..0000000000 --- a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Info.plist b/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Info.plist deleted file mode 100644 index 6905cc67bb..0000000000 --- a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.h b/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.h deleted file mode 100644 index 354eb0b1d4..0000000000 --- a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -@interface ViewController : UIViewController - - -@end - diff --git a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.m b/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.m deleted file mode 100644 index 944bdbebda..0000000000 --- a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/ViewController.m +++ /dev/null @@ -1,37 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "ViewController.h" - -@interface ViewController () - -@end - -@implementation ViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - // Do any additional setup after loading the view, typically from a nib. -} - -- (void)didReceiveMemoryWarning { - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. -} - -@end diff --git a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/main.m b/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/main.m deleted file mode 100644 index 83f68d00d1..0000000000 --- a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExample/main.m +++ /dev/null @@ -1,26 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import "AppDelegate.h" - -int main(int argc, char * argv[]) { - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); - } -} diff --git a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/CocoaPodsDynamicExampleTests.m b/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/CocoaPodsDynamicExampleTests.m deleted file mode 100644 index 2ce13f8f70..0000000000 --- a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/CocoaPodsDynamicExampleTests.m +++ /dev/null @@ -1,32 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -#import "AppDelegate.h" - -@interface CocoaPodsDynamicExampleTests : XCTestCase -@end - -@implementation CocoaPodsDynamicExampleTests - -- (void)testExample { - XCTAssertTrue([MyModel isSubclassOfClass:[RLMObject class]]); -} - -@end diff --git a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/Info.plist b/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/ios/objc/CocoaPodsDynamicExample/CocoaPodsDynamicExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/ios/objc/CocoaPodsDynamicExample/Podfile b/examples/installation/ios/objc/CocoaPodsDynamicExample/Podfile deleted file mode 100644 index 7c3731ec4b..0000000000 --- a/examples/installation/ios/objc/CocoaPodsDynamicExample/Podfile +++ /dev/null @@ -1,13 +0,0 @@ -# Uncomment this line to define a global platform for your project -platform :ios, '11.0' - -use_frameworks! -branch = ENV['sha'] - -target 'CocoaPodsDynamicExample' do - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch -end - -target 'CocoaPodsDynamicExampleTests' do - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch -end diff --git a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj b/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj deleted file mode 100644 index bd9024fd41..0000000000 --- a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,529 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 064B183ECFBA672290C79C49 /* libPods-CocoaPodsExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DAFE3EE99CBCBD93B4F3442 /* libPods-CocoaPodsExample.a */; }; - 517EC1C3150AB28CCDD7578C /* libPods-CocoaPodsExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0BFE70EE100C45C7996190DE /* libPods-CocoaPodsExampleTests.a */; }; - E83EBA841AFAB18F0026370F /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA831AFAB18F0026370F /* main.m */; }; - E83EBA871AFAB18F0026370F /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA861AFAB18F0026370F /* AppDelegate.m */; }; - E83EBA8A1AFAB18F0026370F /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA891AFAB18F0026370F /* ViewController.m */; }; - E83EBA8D1AFAB18F0026370F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E83EBA8B1AFAB18F0026370F /* Main.storyboard */; }; - E83EBA8F1AFAB18F0026370F /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E83EBA8E1AFAB18F0026370F /* Images.xcassets */; }; - E83EBA921AFAB18F0026370F /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = E83EBA901AFAB18F0026370F /* LaunchScreen.xib */; }; - E83EBA9E1AFAB18F0026370F /* CocoaPodsExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E83EBA9D1AFAB18F0026370F /* CocoaPodsExampleTests.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E83EBA981AFAB18F0026370F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E83EBA761AFAB18F0026370F /* Project object */; - proxyType = 1; - remoteGlobalIDString = E83EBA7D1AFAB18F0026370F; - remoteInfo = CocoaPodsExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 0BFE70EE100C45C7996190DE /* libPods-CocoaPodsExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-CocoaPodsExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 0E28CC068C4D3B461BC98950 /* Pods-CocoaPodsExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests.release.xcconfig"; sourceTree = ""; }; - 39C77DC6ED767AFFF58E4A1E /* Pods-CocoaPodsExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests.debug.xcconfig"; sourceTree = ""; }; - 8DAFE3EE99CBCBD93B4F3442 /* libPods-CocoaPodsExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-CocoaPodsExample.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - AAC8746B641F4E291B229F2B /* Pods-CocoaPodsExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample.release.xcconfig"; sourceTree = ""; }; - E83EBA7E1AFAB18F0026370F /* CocoaPodsExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CocoaPodsExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E83EBA821AFAB18F0026370F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E83EBA831AFAB18F0026370F /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E83EBA851AFAB18F0026370F /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - E83EBA861AFAB18F0026370F /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - E83EBA881AFAB18F0026370F /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - E83EBA891AFAB18F0026370F /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - E83EBA8C1AFAB18F0026370F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E83EBA8E1AFAB18F0026370F /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E83EBA911AFAB18F0026370F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - E83EBA971AFAB18F0026370F /* CocoaPodsExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CocoaPodsExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E83EBA9C1AFAB18F0026370F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E83EBA9D1AFAB18F0026370F /* CocoaPodsExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CocoaPodsExampleTests.m; sourceTree = ""; }; - FE975F47BF9C918B0C9601D9 /* Pods-CocoaPodsExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample.debug.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E83EBA7B1AFAB18F0026370F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 064B183ECFBA672290C79C49 /* libPods-CocoaPodsExample.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E83EBA941AFAB18F0026370F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 517EC1C3150AB28CCDD7578C /* libPods-CocoaPodsExampleTests.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - C2B55A3F564B4A7B9B9EB9A2 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 8DAFE3EE99CBCBD93B4F3442 /* libPods-CocoaPodsExample.a */, - 0BFE70EE100C45C7996190DE /* libPods-CocoaPodsExampleTests.a */, - ); - name = Frameworks; - sourceTree = ""; - }; - E83EBA751AFAB18F0026370F = { - isa = PBXGroup; - children = ( - E83EBA801AFAB18F0026370F /* CocoaPodsExample */, - E83EBA9A1AFAB18F0026370F /* CocoaPodsExampleTests */, - C2B55A3F564B4A7B9B9EB9A2 /* Frameworks */, - F5851B9C26D003816745FF6A /* Pods */, - E83EBA7F1AFAB18F0026370F /* Products */, - ); - sourceTree = ""; - }; - E83EBA7F1AFAB18F0026370F /* Products */ = { - isa = PBXGroup; - children = ( - E83EBA7E1AFAB18F0026370F /* CocoaPodsExample.app */, - E83EBA971AFAB18F0026370F /* CocoaPodsExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E83EBA801AFAB18F0026370F /* CocoaPodsExample */ = { - isa = PBXGroup; - children = ( - E83EBA811AFAB18F0026370F /* Supporting Files */, - E83EBA851AFAB18F0026370F /* AppDelegate.h */, - E83EBA861AFAB18F0026370F /* AppDelegate.m */, - E83EBA8E1AFAB18F0026370F /* Images.xcassets */, - E83EBA901AFAB18F0026370F /* LaunchScreen.xib */, - E83EBA8B1AFAB18F0026370F /* Main.storyboard */, - E83EBA881AFAB18F0026370F /* ViewController.h */, - E83EBA891AFAB18F0026370F /* ViewController.m */, - ); - path = CocoaPodsExample; - sourceTree = ""; - }; - E83EBA811AFAB18F0026370F /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E83EBA821AFAB18F0026370F /* Info.plist */, - E83EBA831AFAB18F0026370F /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E83EBA9A1AFAB18F0026370F /* CocoaPodsExampleTests */ = { - isa = PBXGroup; - children = ( - E83EBA9B1AFAB18F0026370F /* Supporting Files */, - E83EBA9D1AFAB18F0026370F /* CocoaPodsExampleTests.m */, - ); - path = CocoaPodsExampleTests; - sourceTree = ""; - }; - E83EBA9B1AFAB18F0026370F /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E83EBA9C1AFAB18F0026370F /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - F5851B9C26D003816745FF6A /* Pods */ = { - isa = PBXGroup; - children = ( - FE975F47BF9C918B0C9601D9 /* Pods-CocoaPodsExample.debug.xcconfig */, - AAC8746B641F4E291B229F2B /* Pods-CocoaPodsExample.release.xcconfig */, - 39C77DC6ED767AFFF58E4A1E /* Pods-CocoaPodsExampleTests.debug.xcconfig */, - 0E28CC068C4D3B461BC98950 /* Pods-CocoaPodsExampleTests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E83EBA7D1AFAB18F0026370F /* CocoaPodsExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E83EBAA11AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */; - buildPhases = ( - 5E5107821FB75CECB1343D03 /* [CP] Check Pods Manifest.lock */, - E83EBA7A1AFAB18F0026370F /* Sources */, - E83EBA7B1AFAB18F0026370F /* Frameworks */, - E83EBA7C1AFAB18F0026370F /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = CocoaPodsExample; - productName = CocoaPodsExample; - productReference = E83EBA7E1AFAB18F0026370F /* CocoaPodsExample.app */; - productType = "com.apple.product-type.application"; - }; - E83EBA961AFAB18F0026370F /* CocoaPodsExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E83EBAA41AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsExampleTests" */; - buildPhases = ( - CB13D4A5201ECC5444D9FDD6 /* [CP] Check Pods Manifest.lock */, - E83EBA931AFAB18F0026370F /* Sources */, - E83EBA941AFAB18F0026370F /* Frameworks */, - E83EBA951AFAB18F0026370F /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E83EBA991AFAB18F0026370F /* PBXTargetDependency */, - ); - name = CocoaPodsExampleTests; - productName = CocoaPodsExampleTests; - productReference = E83EBA971AFAB18F0026370F /* CocoaPodsExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E83EBA761AFAB18F0026370F /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E83EBA7D1AFAB18F0026370F = { - CreatedOnToolsVersion = 6.3.1; - }; - E83EBA961AFAB18F0026370F = { - CreatedOnToolsVersion = 6.3.1; - TestTargetID = E83EBA7D1AFAB18F0026370F; - }; - }; - }; - buildConfigurationList = E83EBA791AFAB18F0026370F /* Build configuration list for PBXProject "CocoaPodsExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E83EBA751AFAB18F0026370F; - productRefGroup = E83EBA7F1AFAB18F0026370F /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E83EBA7D1AFAB18F0026370F /* CocoaPodsExample */, - E83EBA961AFAB18F0026370F /* CocoaPodsExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E83EBA7C1AFAB18F0026370F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E83EBA8F1AFAB18F0026370F /* Images.xcassets in Resources */, - E83EBA921AFAB18F0026370F /* LaunchScreen.xib in Resources */, - E83EBA8D1AFAB18F0026370F /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E83EBA951AFAB18F0026370F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 5E5107821FB75CECB1343D03 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsExample-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - CB13D4A5201ECC5444D9FDD6 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsExampleTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E83EBA7A1AFAB18F0026370F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E83EBA871AFAB18F0026370F /* AppDelegate.m in Sources */, - E83EBA841AFAB18F0026370F /* main.m in Sources */, - E83EBA8A1AFAB18F0026370F /* ViewController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E83EBA931AFAB18F0026370F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E83EBA9E1AFAB18F0026370F /* CocoaPodsExampleTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E83EBA991AFAB18F0026370F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E83EBA7D1AFAB18F0026370F /* CocoaPodsExample */; - targetProxy = E83EBA981AFAB18F0026370F /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E83EBA8B1AFAB18F0026370F /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E83EBA8C1AFAB18F0026370F /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - E83EBA901AFAB18F0026370F /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - E83EBA911AFAB18F0026370F /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E83EBA9F1AFAB18F0026370F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - }; - name = Debug; - }; - E83EBAA01AFAB18F0026370F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E83EBAA21AFAB18F0026370F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FE975F47BF9C918B0C9601D9 /* Pods-CocoaPodsExample.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - E83EBAA31AFAB18F0026370F /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = AAC8746B641F4E291B229F2B /* Pods-CocoaPodsExample.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; - E83EBAA51AFAB18F0026370F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 39C77DC6ED767AFFF58E4A1E /* Pods-CocoaPodsExampleTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = CocoaPodsExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsExample.app/CocoaPodsExample"; - }; - name = Debug; - }; - E83EBAA61AFAB18F0026370F /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 0E28CC068C4D3B461BC98950 /* Pods-CocoaPodsExampleTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - INFOPLIST_FILE = CocoaPodsExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsExample.app/CocoaPodsExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E83EBA791AFAB18F0026370F /* Build configuration list for PBXProject "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E83EBA9F1AFAB18F0026370F /* Debug */, - E83EBAA01AFAB18F0026370F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E83EBAA11AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E83EBAA21AFAB18F0026370F /* Debug */, - E83EBAA31AFAB18F0026370F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E83EBAA41AFAB18F0026370F /* Build configuration list for PBXNativeTarget "CocoaPodsExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E83EBAA51AFAB18F0026370F /* Debug */, - E83EBAA61AFAB18F0026370F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E83EBA761AFAB18F0026370F /* Project object */; -} diff --git a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme b/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme deleted file mode 100644 index 934ea0f1d7..0000000000 --- a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.m b/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.m deleted file mode 100644 index 13ca05f37a..0000000000 --- a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.m +++ /dev/null @@ -1,30 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "AppDelegate.h" - -@implementation MyModel -@end - -@implementation AppDelegate - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - return YES; -} - -@end diff --git a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib b/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib deleted file mode 100644 index eac286fe26..0000000000 --- a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard b/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard deleted file mode 100644 index d912f9d76b..0000000000 --- a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 118c98f746..0000000000 --- a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Info.plist b/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Info.plist deleted file mode 100644 index 6905cc67bb..0000000000 --- a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/ViewController.h b/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/ViewController.h deleted file mode 100644 index 354eb0b1d4..0000000000 --- a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/ViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -@interface ViewController : UIViewController - - -@end - diff --git a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/ViewController.m b/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/ViewController.m deleted file mode 100644 index 944bdbebda..0000000000 --- a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/ViewController.m +++ /dev/null @@ -1,37 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "ViewController.h" - -@interface ViewController () - -@end - -@implementation ViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - // Do any additional setup after loading the view, typically from a nib. -} - -- (void)didReceiveMemoryWarning { - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. -} - -@end diff --git a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/main.m b/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/main.m deleted file mode 100644 index 83f68d00d1..0000000000 --- a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExample/main.m +++ /dev/null @@ -1,26 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import "AppDelegate.h" - -int main(int argc, char * argv[]) { - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); - } -} diff --git a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.m b/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.m deleted file mode 100644 index d04f492eee..0000000000 --- a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.m +++ /dev/null @@ -1,32 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -#import "AppDelegate.h" - -@interface CocoaPodsExampleTests : XCTestCase -@end - -@implementation CocoaPodsExampleTests - -- (void)testExample { - XCTAssertTrue([MyModel isSubclassOfClass:[RLMObject class]]); -} - -@end diff --git a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExampleTests/Info.plist b/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/ios/objc/CocoaPodsExample/CocoaPodsExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/ios/objc/CocoaPodsExample/Podfile b/examples/installation/ios/objc/CocoaPodsExample/Podfile deleted file mode 100644 index 9e7a34df89..0000000000 --- a/examples/installation/ios/objc/CocoaPodsExample/Podfile +++ /dev/null @@ -1,20 +0,0 @@ -# Uncomment this line to define a global platform for your project -platform :ios, '11.0' - -branch = ENV['sha'] - -target 'CocoaPodsExample' do - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch -end - -target 'CocoaPodsExampleTests' do - pod 'Realm/Headers', git: 'https://github.com/realm/realm-swift.git', branch: branch -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - config.build_settings['GCC_GENERATE_DEBUGGING_SYMBOLS'] = 'NO' - end - end -end diff --git a/examples/installation/ios/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj b/examples/installation/ios/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj deleted file mode 100644 index 3364dc433a..0000000000 --- a/examples/installation/ios/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,485 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - E8561AC31AFB1518006E087E /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E8561AC21AFB1518006E087E /* main.m */; }; - E8561AC61AFB1518006E087E /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E8561AC51AFB1518006E087E /* AppDelegate.m */; }; - E8561AC91AFB1518006E087E /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8561AC81AFB1518006E087E /* ViewController.m */; }; - E8561ACC1AFB1518006E087E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8561ACA1AFB1518006E087E /* Main.storyboard */; }; - E8561ACE1AFB1518006E087E /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E8561ACD1AFB1518006E087E /* Images.xcassets */; }; - E8561AD11AFB1518006E087E /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = E8561ACF1AFB1518006E087E /* LaunchScreen.xib */; }; - E8561ADD1AFB1518006E087E /* DynamicExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E8561ADC1AFB1518006E087E /* DynamicExampleTests.m */; }; - E8561AE71AFB1534006E087E /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = E8561AE61AFB1534006E087E /* Realm.xcframework */; }; - E8561AE81AFB1534006E087E /* Realm.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E8561AE61AFB1534006E087E /* Realm.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8561AD71AFB1518006E087E /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8561AB51AFB1518006E087E /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8561ABC1AFB1518006E087E; - remoteInfo = DynamicExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E8561AE91AFB1534006E087E /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - E8561AE81AFB1534006E087E /* Realm.xcframework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - E8561ABD1AFB1518006E087E /* DynamicExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DynamicExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8561AC11AFB1518006E087E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8561AC21AFB1518006E087E /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E8561AC41AFB1518006E087E /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - E8561AC51AFB1518006E087E /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - E8561AC71AFB1518006E087E /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - E8561AC81AFB1518006E087E /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - E8561ACB1AFB1518006E087E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E8561ACD1AFB1518006E087E /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E8561AD01AFB1518006E087E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - E8561AD61AFB1518006E087E /* DynamicExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DynamicExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E8561ADB1AFB1518006E087E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8561ADC1AFB1518006E087E /* DynamicExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DynamicExampleTests.m; sourceTree = ""; }; - E8561AE61AFB1534006E087E /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = "../../../realm-objc-latest/Realm.xcframework"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8561ABA1AFB1518006E087E /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - E8561AE71AFB1534006E087E /* Realm.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8561AD31AFB1518006E087E /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - E8561AB41AFB1518006E087E = { - isa = PBXGroup; - children = ( - E8561ABF1AFB1518006E087E /* DynamicExample */, - E8561AD91AFB1518006E087E /* DynamicExampleTests */, - E8561ABE1AFB1518006E087E /* Products */, - E8561AE61AFB1534006E087E /* Realm.xcframework */, - ); - sourceTree = ""; - }; - E8561ABE1AFB1518006E087E /* Products */ = { - isa = PBXGroup; - children = ( - E8561ABD1AFB1518006E087E /* DynamicExample.app */, - E8561AD61AFB1518006E087E /* DynamicExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E8561ABF1AFB1518006E087E /* DynamicExample */ = { - isa = PBXGroup; - children = ( - E8561AC01AFB1518006E087E /* Supporting Files */, - E8561AC41AFB1518006E087E /* AppDelegate.h */, - E8561AC51AFB1518006E087E /* AppDelegate.m */, - E8561ACD1AFB1518006E087E /* Images.xcassets */, - E8561ACF1AFB1518006E087E /* LaunchScreen.xib */, - E8561ACA1AFB1518006E087E /* Main.storyboard */, - E8561AC71AFB1518006E087E /* ViewController.h */, - E8561AC81AFB1518006E087E /* ViewController.m */, - ); - path = DynamicExample; - sourceTree = ""; - }; - E8561AC01AFB1518006E087E /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8561AC11AFB1518006E087E /* Info.plist */, - E8561AC21AFB1518006E087E /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E8561AD91AFB1518006E087E /* DynamicExampleTests */ = { - isa = PBXGroup; - children = ( - E8561ADA1AFB1518006E087E /* Supporting Files */, - E8561ADC1AFB1518006E087E /* DynamicExampleTests.m */, - ); - path = DynamicExampleTests; - sourceTree = ""; - }; - E8561ADA1AFB1518006E087E /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8561ADB1AFB1518006E087E /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8561ABC1AFB1518006E087E /* DynamicExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8561AE01AFB1518006E087E /* Build configuration list for PBXNativeTarget "DynamicExample" */; - buildPhases = ( - E8561AB91AFB1518006E087E /* Sources */, - E8561ABA1AFB1518006E087E /* Frameworks */, - E8561ABB1AFB1518006E087E /* Resources */, - E8561AE91AFB1534006E087E /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = DynamicExample; - productName = DynamicExample; - productReference = E8561ABD1AFB1518006E087E /* DynamicExample.app */; - productType = "com.apple.product-type.application"; - }; - E8561AD51AFB1518006E087E /* DynamicExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8561AE31AFB1518006E087E /* Build configuration list for PBXNativeTarget "DynamicExampleTests" */; - buildPhases = ( - E8561AD21AFB1518006E087E /* Sources */, - E8561AD31AFB1518006E087E /* Frameworks */, - E8561AD41AFB1518006E087E /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E8561AD81AFB1518006E087E /* PBXTargetDependency */, - ); - name = DynamicExampleTests; - productName = DynamicExampleTests; - productReference = E8561AD61AFB1518006E087E /* DynamicExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8561AB51AFB1518006E087E /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8561ABC1AFB1518006E087E = { - CreatedOnToolsVersion = 6.3.1; - }; - E8561AD51AFB1518006E087E = { - CreatedOnToolsVersion = 6.3.1; - TestTargetID = E8561ABC1AFB1518006E087E; - }; - }; - }; - buildConfigurationList = E8561AB81AFB1518006E087E /* Build configuration list for PBXProject "DynamicExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - English, - en, - Base, - ); - mainGroup = E8561AB41AFB1518006E087E; - productRefGroup = E8561ABE1AFB1518006E087E /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8561ABC1AFB1518006E087E /* DynamicExample */, - E8561AD51AFB1518006E087E /* DynamicExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8561ABB1AFB1518006E087E /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8561ACE1AFB1518006E087E /* Images.xcassets in Resources */, - E8561AD11AFB1518006E087E /* LaunchScreen.xib in Resources */, - E8561ACC1AFB1518006E087E /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8561AD41AFB1518006E087E /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8561AB91AFB1518006E087E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8561AC61AFB1518006E087E /* AppDelegate.m in Sources */, - E8561AC31AFB1518006E087E /* main.m in Sources */, - E8561AC91AFB1518006E087E /* ViewController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8561AD21AFB1518006E087E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8561ADD1AFB1518006E087E /* DynamicExampleTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8561AD81AFB1518006E087E /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8561ABC1AFB1518006E087E /* DynamicExample */; - targetProxy = E8561AD71AFB1518006E087E /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8561ACA1AFB1518006E087E /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8561ACB1AFB1518006E087E /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - E8561ACF1AFB1518006E087E /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - E8561AD01AFB1518006E087E /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8561ADE1AFB1518006E087E /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = "../../../realm-objc-latest/ios/dynamic"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - }; - name = Debug; - }; - E8561ADF1AFB1518006E087E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = "../../../realm-objc-latest/ios/dynamic"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E8561AE11AFB1518006E087E /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = DynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - E8561AE21AFB1518006E087E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = DynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; - E8561AE41AFB1518006E087E /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = DynamicExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DynamicExample.app/DynamicExample"; - }; - name = Debug; - }; - E8561AE51AFB1518006E087E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = DynamicExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DynamicExample.app/DynamicExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8561AB81AFB1518006E087E /* Build configuration list for PBXProject "DynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8561ADE1AFB1518006E087E /* Debug */, - E8561ADF1AFB1518006E087E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8561AE01AFB1518006E087E /* Build configuration list for PBXNativeTarget "DynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8561AE11AFB1518006E087E /* Debug */, - E8561AE21AFB1518006E087E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8561AE31AFB1518006E087E /* Build configuration list for PBXNativeTarget "DynamicExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8561AE41AFB1518006E087E /* Debug */, - E8561AE51AFB1518006E087E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8561AB51AFB1518006E087E /* Project object */; -} diff --git a/examples/installation/ios/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme b/examples/installation/ios/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme deleted file mode 100644 index bcf1c20fb4..0000000000 --- a/examples/installation/ios/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/DynamicExample/DynamicExample/AppDelegate.h b/examples/installation/ios/objc/DynamicExample/DynamicExample/AppDelegate.h deleted file mode 100644 index 411429e6ff..0000000000 --- a/examples/installation/ios/objc/DynamicExample/DynamicExample/AppDelegate.h +++ /dev/null @@ -1,29 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import - -@interface MyModel : RLMObject -@end - -@interface AppDelegate : UIResponder - -@property (strong, nonatomic) UIWindow *window; - -@end diff --git a/examples/installation/ios/objc/DynamicExample/DynamicExample/AppDelegate.m b/examples/installation/ios/objc/DynamicExample/DynamicExample/AppDelegate.m deleted file mode 100644 index 13ca05f37a..0000000000 --- a/examples/installation/ios/objc/DynamicExample/DynamicExample/AppDelegate.m +++ /dev/null @@ -1,30 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "AppDelegate.h" - -@implementation MyModel -@end - -@implementation AppDelegate - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - return YES; -} - -@end diff --git a/examples/installation/ios/objc/DynamicExample/DynamicExample/Base.lproj/LaunchScreen.xib b/examples/installation/ios/objc/DynamicExample/DynamicExample/Base.lproj/LaunchScreen.xib deleted file mode 100644 index 4180b2ff31..0000000000 --- a/examples/installation/ios/objc/DynamicExample/DynamicExample/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/DynamicExample/DynamicExample/Base.lproj/Main.storyboard b/examples/installation/ios/objc/DynamicExample/DynamicExample/Base.lproj/Main.storyboard deleted file mode 100644 index d912f9d76b..0000000000 --- a/examples/installation/ios/objc/DynamicExample/DynamicExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/ios/objc/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 118c98f746..0000000000 --- a/examples/installation/ios/objc/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/ios/objc/DynamicExample/DynamicExample/Info.plist b/examples/installation/ios/objc/DynamicExample/DynamicExample/Info.plist deleted file mode 100644 index 6905cc67bb..0000000000 --- a/examples/installation/ios/objc/DynamicExample/DynamicExample/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/ios/objc/DynamicExample/DynamicExample/ViewController.h b/examples/installation/ios/objc/DynamicExample/DynamicExample/ViewController.h deleted file mode 100644 index 354eb0b1d4..0000000000 --- a/examples/installation/ios/objc/DynamicExample/DynamicExample/ViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -@interface ViewController : UIViewController - - -@end - diff --git a/examples/installation/ios/objc/DynamicExample/DynamicExample/ViewController.m b/examples/installation/ios/objc/DynamicExample/DynamicExample/ViewController.m deleted file mode 100644 index 944bdbebda..0000000000 --- a/examples/installation/ios/objc/DynamicExample/DynamicExample/ViewController.m +++ /dev/null @@ -1,37 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "ViewController.h" - -@interface ViewController () - -@end - -@implementation ViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - // Do any additional setup after loading the view, typically from a nib. -} - -- (void)didReceiveMemoryWarning { - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. -} - -@end diff --git a/examples/installation/ios/objc/DynamicExample/DynamicExample/main.m b/examples/installation/ios/objc/DynamicExample/DynamicExample/main.m deleted file mode 100644 index 83f68d00d1..0000000000 --- a/examples/installation/ios/objc/DynamicExample/DynamicExample/main.m +++ /dev/null @@ -1,26 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import "AppDelegate.h" - -int main(int argc, char * argv[]) { - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); - } -} diff --git a/examples/installation/ios/objc/DynamicExample/DynamicExampleTests/DynamicExampleTests.m b/examples/installation/ios/objc/DynamicExample/DynamicExampleTests/DynamicExampleTests.m deleted file mode 100644 index b2dcaf72c7..0000000000 --- a/examples/installation/ios/objc/DynamicExample/DynamicExampleTests/DynamicExampleTests.m +++ /dev/null @@ -1,32 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -#import "AppDelegate.h" - -@interface DynamicExampleTests : XCTestCase -@end - -@implementation DynamicExampleTests - -- (void)testExample { - XCTAssertTrue([MyModel isSubclassOfClass:[RLMObject class]]); -} - -@end diff --git a/examples/installation/ios/objc/DynamicExample/DynamicExampleTests/Info.plist b/examples/installation/ios/objc/DynamicExample/DynamicExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/ios/objc/DynamicExample/DynamicExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/ios/objc/StaticExample/StaticExample/AppDelegate.h b/examples/installation/ios/objc/StaticExample/StaticExample/AppDelegate.h deleted file mode 100644 index 411429e6ff..0000000000 --- a/examples/installation/ios/objc/StaticExample/StaticExample/AppDelegate.h +++ /dev/null @@ -1,29 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import - -@interface MyModel : RLMObject -@end - -@interface AppDelegate : UIResponder - -@property (strong, nonatomic) UIWindow *window; - -@end diff --git a/examples/installation/ios/objc/StaticExample/StaticExample/AppDelegate.m b/examples/installation/ios/objc/StaticExample/StaticExample/AppDelegate.m deleted file mode 100644 index 13ca05f37a..0000000000 --- a/examples/installation/ios/objc/StaticExample/StaticExample/AppDelegate.m +++ /dev/null @@ -1,30 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "AppDelegate.h" - -@implementation MyModel -@end - -@implementation AppDelegate - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - return YES; -} - -@end diff --git a/examples/installation/ios/objc/StaticExample/StaticExample/Base.lproj/Main.storyboard b/examples/installation/ios/objc/StaticExample/StaticExample/Base.lproj/Main.storyboard deleted file mode 100644 index d912f9d76b..0000000000 --- a/examples/installation/ios/objc/StaticExample/StaticExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/StaticExample/StaticExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/ios/objc/StaticExample/StaticExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 118c98f746..0000000000 --- a/examples/installation/ios/objc/StaticExample/StaticExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/ios/objc/StaticExample/StaticExample/Info.plist b/examples/installation/ios/objc/StaticExample/StaticExample/Info.plist deleted file mode 100644 index 6905cc67bb..0000000000 --- a/examples/installation/ios/objc/StaticExample/StaticExample/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/ios/objc/StaticExample/StaticExample/ViewController.h b/examples/installation/ios/objc/StaticExample/StaticExample/ViewController.h deleted file mode 100644 index 354eb0b1d4..0000000000 --- a/examples/installation/ios/objc/StaticExample/StaticExample/ViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -@interface ViewController : UIViewController - - -@end - diff --git a/examples/installation/ios/objc/StaticExample/StaticExample/ViewController.m b/examples/installation/ios/objc/StaticExample/StaticExample/ViewController.m deleted file mode 100644 index 944bdbebda..0000000000 --- a/examples/installation/ios/objc/StaticExample/StaticExample/ViewController.m +++ /dev/null @@ -1,37 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "ViewController.h" - -@interface ViewController () - -@end - -@implementation ViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - // Do any additional setup after loading the view, typically from a nib. -} - -- (void)didReceiveMemoryWarning { - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. -} - -@end diff --git a/examples/installation/ios/objc/StaticExample/StaticExample/main.m b/examples/installation/ios/objc/StaticExample/StaticExample/main.m deleted file mode 100644 index 83f68d00d1..0000000000 --- a/examples/installation/ios/objc/StaticExample/StaticExample/main.m +++ /dev/null @@ -1,26 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import "AppDelegate.h" - -int main(int argc, char * argv[]) { - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); - } -} diff --git a/examples/installation/ios/objc/StaticExample/StaticExampleTests/Info.plist b/examples/installation/ios/objc/StaticExample/StaticExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/ios/objc/StaticExample/StaticExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/ios/objc/StaticExample/StaticExampleTests/StaticExampleTests.m b/examples/installation/ios/objc/StaticExample/StaticExampleTests/StaticExampleTests.m deleted file mode 100644 index b8aa6975fb..0000000000 --- a/examples/installation/ios/objc/StaticExample/StaticExampleTests/StaticExampleTests.m +++ /dev/null @@ -1,32 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -#import "AppDelegate.h" - -@interface StaticExampleTests : XCTestCase -@end - -@implementation StaticExampleTests - -- (void)testExample { - XCTAssertTrue([MyModel isSubclassOfClass:[RLMObject class]]); -} - -@end diff --git a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj b/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj deleted file mode 100644 index f660fa8a74..0000000000 --- a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,498 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 3FDA0A3223199D190099B474 /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3FDA0A3023199C600099B474 /* Realm.xcframework */; }; - 3FDA0A3323199D190099B474 /* Realm.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3FDA0A3023199C600099B474 /* Realm.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; }; - E8561AC31AFB1518006E087E /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E8561AC21AFB1518006E087E /* main.m */; }; - E8561AC61AFB1518006E087E /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E8561AC51AFB1518006E087E /* AppDelegate.m */; }; - E8561AC91AFB1518006E087E /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8561AC81AFB1518006E087E /* ViewController.m */; }; - E8561ACC1AFB1518006E087E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8561ACA1AFB1518006E087E /* Main.storyboard */; }; - E8561ACE1AFB1518006E087E /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E8561ACD1AFB1518006E087E /* Images.xcassets */; }; - E8561AD11AFB1518006E087E /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = E8561ACF1AFB1518006E087E /* LaunchScreen.xib */; }; - E8561ADD1AFB1518006E087E /* XCFrameworkExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E8561ADC1AFB1518006E087E /* XCFrameworkExampleTests.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8561AD71AFB1518006E087E /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8561AB51AFB1518006E087E /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8561ABC1AFB1518006E087E; - remoteInfo = XCFrameworkExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E8561AE91AFB1534006E087E /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 3FDA0A3323199D190099B474 /* Realm.xcframework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 3FDA0A3023199C600099B474 /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = "../../../realm-objc-latest/Realm.xcframework"; sourceTree = ""; }; - E8561ABD1AFB1518006E087E /* XCFrameworkExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = XCFrameworkExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8561AC11AFB1518006E087E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8561AC21AFB1518006E087E /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E8561AC41AFB1518006E087E /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - E8561AC51AFB1518006E087E /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - E8561AC71AFB1518006E087E /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - E8561AC81AFB1518006E087E /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - E8561ACB1AFB1518006E087E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E8561ACD1AFB1518006E087E /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E8561AD01AFB1518006E087E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - E8561AD61AFB1518006E087E /* XCFrameworkExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = XCFrameworkExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E8561ADB1AFB1518006E087E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8561ADC1AFB1518006E087E /* XCFrameworkExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XCFrameworkExampleTests.m; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8561ABA1AFB1518006E087E /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3FDA0A3223199D190099B474 /* Realm.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8561AD31AFB1518006E087E /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - E8561AB41AFB1518006E087E = { - isa = PBXGroup; - children = ( - E8561ABE1AFB1518006E087E /* Products */, - E8561ABF1AFB1518006E087E /* XCFrameworkExample */, - E8561AD91AFB1518006E087E /* XCFrameworkExampleTests */, - 3FDA0A3023199C600099B474 /* Realm.xcframework */, - ); - sourceTree = ""; - }; - E8561ABE1AFB1518006E087E /* Products */ = { - isa = PBXGroup; - children = ( - E8561ABD1AFB1518006E087E /* XCFrameworkExample.app */, - E8561AD61AFB1518006E087E /* XCFrameworkExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E8561ABF1AFB1518006E087E /* XCFrameworkExample */ = { - isa = PBXGroup; - children = ( - E8561AC01AFB1518006E087E /* Supporting Files */, - E8561AC41AFB1518006E087E /* AppDelegate.h */, - E8561AC51AFB1518006E087E /* AppDelegate.m */, - E8561ACD1AFB1518006E087E /* Images.xcassets */, - E8561ACF1AFB1518006E087E /* LaunchScreen.xib */, - E8561ACA1AFB1518006E087E /* Main.storyboard */, - E8561AC71AFB1518006E087E /* ViewController.h */, - E8561AC81AFB1518006E087E /* ViewController.m */, - ); - path = XCFrameworkExample; - sourceTree = ""; - }; - E8561AC01AFB1518006E087E /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8561AC11AFB1518006E087E /* Info.plist */, - E8561AC21AFB1518006E087E /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E8561AD91AFB1518006E087E /* XCFrameworkExampleTests */ = { - isa = PBXGroup; - children = ( - E8561ADA1AFB1518006E087E /* Supporting Files */, - E8561ADC1AFB1518006E087E /* XCFrameworkExampleTests.m */, - ); - path = XCFrameworkExampleTests; - sourceTree = ""; - }; - E8561ADA1AFB1518006E087E /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8561ADB1AFB1518006E087E /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8561ABC1AFB1518006E087E /* XCFrameworkExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8561AE01AFB1518006E087E /* Build configuration list for PBXNativeTarget "XCFrameworkExample" */; - buildPhases = ( - E8561AB91AFB1518006E087E /* Sources */, - E8561ABA1AFB1518006E087E /* Frameworks */, - E8561ABB1AFB1518006E087E /* Resources */, - E8561AE91AFB1534006E087E /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = XCFrameworkExample; - productName = XCFrameworkExample; - productReference = E8561ABD1AFB1518006E087E /* XCFrameworkExample.app */; - productType = "com.apple.product-type.application"; - }; - E8561AD51AFB1518006E087E /* XCFrameworkExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8561AE31AFB1518006E087E /* Build configuration list for PBXNativeTarget "XCFrameworkExampleTests" */; - buildPhases = ( - E8561AD21AFB1518006E087E /* Sources */, - E8561AD31AFB1518006E087E /* Frameworks */, - E8561AD41AFB1518006E087E /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E8561AD81AFB1518006E087E /* PBXTargetDependency */, - ); - name = XCFrameworkExampleTests; - productName = XCFrameworkExampleTests; - productReference = E8561AD61AFB1518006E087E /* XCFrameworkExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8561AB51AFB1518006E087E /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8561ABC1AFB1518006E087E = { - CreatedOnToolsVersion = 6.3.1; - }; - E8561AD51AFB1518006E087E = { - CreatedOnToolsVersion = 6.3.1; - TestTargetID = E8561ABC1AFB1518006E087E; - }; - }; - }; - buildConfigurationList = E8561AB81AFB1518006E087E /* Build configuration list for PBXProject "XCFrameworkExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E8561AB41AFB1518006E087E; - productRefGroup = E8561ABE1AFB1518006E087E /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8561ABC1AFB1518006E087E /* XCFrameworkExample */, - E8561AD51AFB1518006E087E /* XCFrameworkExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8561ABB1AFB1518006E087E /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8561ACE1AFB1518006E087E /* Images.xcassets in Resources */, - E8561AD11AFB1518006E087E /* LaunchScreen.xib in Resources */, - E8561ACC1AFB1518006E087E /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8561AD41AFB1518006E087E /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8561AB91AFB1518006E087E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8561AC61AFB1518006E087E /* AppDelegate.m in Sources */, - E8561AC31AFB1518006E087E /* main.m in Sources */, - E8561AC91AFB1518006E087E /* ViewController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8561AD21AFB1518006E087E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8561ADD1AFB1518006E087E /* XCFrameworkExampleTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8561AD81AFB1518006E087E /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8561ABC1AFB1518006E087E /* XCFrameworkExample */; - targetProxy = E8561AD71AFB1518006E087E /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8561ACA1AFB1518006E087E /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8561ACB1AFB1518006E087E /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - E8561ACF1AFB1518006E087E /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - E8561AD01AFB1518006E087E /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8561ADE1AFB1518006E087E /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = ""; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - }; - name = Debug; - }; - E8561ADF1AFB1518006E087E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = ""; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E8561AE11AFB1518006E087E /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = XCFrameworkExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - E8561AE21AFB1518006E087E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = XCFrameworkExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - E8561AE41AFB1518006E087E /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = XCFrameworkExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/XCFrameworkExample.app/XCFrameworkExample"; - }; - name = Debug; - }; - E8561AE51AFB1518006E087E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = XCFrameworkExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/XCFrameworkExample.app/XCFrameworkExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8561AB81AFB1518006E087E /* Build configuration list for PBXProject "XCFrameworkExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8561ADE1AFB1518006E087E /* Debug */, - E8561ADF1AFB1518006E087E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8561AE01AFB1518006E087E /* Build configuration list for PBXNativeTarget "XCFrameworkExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8561AE11AFB1518006E087E /* Debug */, - E8561AE21AFB1518006E087E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8561AE31AFB1518006E087E /* Build configuration list for PBXNativeTarget "XCFrameworkExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8561AE41AFB1518006E087E /* Debug */, - E8561AE51AFB1518006E087E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8561AB51AFB1518006E087E /* Project object */; -} diff --git a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme b/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme deleted file mode 100644 index bf6e5106a2..0000000000 --- a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.h b/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.h deleted file mode 100644 index 411429e6ff..0000000000 --- a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.h +++ /dev/null @@ -1,29 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import - -@interface MyModel : RLMObject -@end - -@interface AppDelegate : UIResponder - -@property (strong, nonatomic) UIWindow *window; - -@end diff --git a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.m b/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.m deleted file mode 100644 index 13ca05f37a..0000000000 --- a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.m +++ /dev/null @@ -1,30 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "AppDelegate.h" - -@implementation MyModel -@end - -@implementation AppDelegate - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - return YES; -} - -@end diff --git a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Base.lproj/LaunchScreen.xib b/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Base.lproj/LaunchScreen.xib deleted file mode 100644 index e8d47a0a8a..0000000000 --- a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard b/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard deleted file mode 100644 index d912f9d76b..0000000000 --- a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d3942e941a..0000000000 --- a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Info.plist b/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Info.plist deleted file mode 100644 index 6905cc67bb..0000000000 --- a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/ViewController.h b/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/ViewController.h deleted file mode 100644 index 354eb0b1d4..0000000000 --- a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/ViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -@interface ViewController : UIViewController - - -@end - diff --git a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/ViewController.m b/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/ViewController.m deleted file mode 100644 index 944bdbebda..0000000000 --- a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/ViewController.m +++ /dev/null @@ -1,37 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "ViewController.h" - -@interface ViewController () - -@end - -@implementation ViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - // Do any additional setup after loading the view, typically from a nib. -} - -- (void)didReceiveMemoryWarning { - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. -} - -@end diff --git a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/main.m b/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/main.m deleted file mode 100644 index 83f68d00d1..0000000000 --- a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExample/main.m +++ /dev/null @@ -1,26 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import "AppDelegate.h" - -int main(int argc, char * argv[]) { - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); - } -} diff --git a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExampleTests/Info.plist b/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.m b/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.m deleted file mode 100644 index fac08d816e..0000000000 --- a/examples/installation/ios/objc/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.m +++ /dev/null @@ -1,32 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -#import "AppDelegate.h" - -@interface XCFrameworkExampleTests : XCTestCase -@end - -@implementation XCFrameworkExampleTests - -- (void)testExample { - XCTAssertTrue([MyModel isSubclassOfClass:[RLMObject class]]); -} - -@end diff --git a/examples/installation/ios/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj b/examples/installation/ios/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj deleted file mode 100644 index d1f9a493c7..0000000000 --- a/examples/installation/ios/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,527 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 3F4520602915978E008F07AD /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F45205F29159778008F07AD /* libc++.tbd */; }; - 3F4520612915978E008F07AD /* libcompression.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F45205D29159778008F07AD /* libcompression.tbd */; }; - 3F4520622915978E008F07AD /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F45205E29159778008F07AD /* libz.tbd */; }; - 3F636A5D29146AB700DB1CBC /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F636A5B29146AB600DB1CBC /* Realm.xcframework */; }; - 3F636A5E29146AB700DB1CBC /* Realm.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3F636A5B29146AB600DB1CBC /* Realm.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 3F636A5F29146AB700DB1CBC /* RealmSwift.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F636A5C29146AB600DB1CBC /* RealmSwift.xcframework */; }; - 3F636A6029146AB700DB1CBC /* RealmSwift.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3F636A5C29146AB600DB1CBC /* RealmSwift.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - E8FA5D381B3CD3320095EF19 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8FA5D371B3CD3320095EF19 /* AppDelegate.swift */; }; - E8FA5D3A1B3CD3320095EF19 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8FA5D391B3CD3320095EF19 /* ViewController.swift */; }; - E8FA5D3D1B3CD3320095EF19 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8FA5D3B1B3CD3320095EF19 /* Main.storyboard */; }; - E8FA5D3F1B3CD3320095EF19 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E8FA5D3E1B3CD3320095EF19 /* Images.xcassets */; }; - E8FA5D421B3CD3320095EF19 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = E8FA5D401B3CD3320095EF19 /* LaunchScreen.xib */; }; - E8FA5D4E1B3CD3320095EF19 /* CarthageExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8FA5D4D1B3CD3320095EF19 /* CarthageExampleTests.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8FA5D481B3CD3320095EF19 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8FA5D2A1B3CD3320095EF19 /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8FA5D311B3CD3320095EF19; - remoteInfo = CarthageExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 3F636A6129146AB700DB1CBC /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 3F636A5E29146AB700DB1CBC /* Realm.xcframework in Embed Frameworks */, - 3F636A6029146AB700DB1CBC /* RealmSwift.xcframework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 3F45205D29159778008F07AD /* libcompression.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libcompression.tbd; path = usr/lib/libcompression.tbd; sourceTree = SDKROOT; }; - 3F45205E29159778008F07AD /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; - 3F45205F29159778008F07AD /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; - 3F636A5B29146AB600DB1CBC /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = Carthage/Build/Realm.xcframework; sourceTree = ""; }; - 3F636A5C29146AB600DB1CBC /* RealmSwift.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = RealmSwift.xcframework; path = Carthage/Build/RealmSwift.xcframework; sourceTree = ""; }; - E8FA5D321B3CD3320095EF19 /* CarthageExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CarthageExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8FA5D361B3CD3320095EF19 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8FA5D371B3CD3320095EF19 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - E8FA5D391B3CD3320095EF19 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - E8FA5D3C1B3CD3320095EF19 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E8FA5D3E1B3CD3320095EF19 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E8FA5D411B3CD3320095EF19 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - E8FA5D471B3CD3320095EF19 /* CarthageExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CarthageExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E8FA5D4C1B3CD3320095EF19 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8FA5D4D1B3CD3320095EF19 /* CarthageExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CarthageExampleTests.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8FA5D2F1B3CD3320095EF19 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3F4520602915978E008F07AD /* libc++.tbd in Frameworks */, - 3F4520612915978E008F07AD /* libcompression.tbd in Frameworks */, - 3F4520622915978E008F07AD /* libz.tbd in Frameworks */, - 3F636A5D29146AB700DB1CBC /* Realm.xcframework in Frameworks */, - 3F636A5F29146AB700DB1CBC /* RealmSwift.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8FA5D441B3CD3320095EF19 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 3F636A5A29146AB600DB1CBC /* Frameworks */ = { - isa = PBXGroup; - children = ( - 3F45205F29159778008F07AD /* libc++.tbd */, - 3F45205D29159778008F07AD /* libcompression.tbd */, - 3F45205E29159778008F07AD /* libz.tbd */, - 3F636A5B29146AB600DB1CBC /* Realm.xcframework */, - 3F636A5C29146AB600DB1CBC /* RealmSwift.xcframework */, - ); - name = Frameworks; - sourceTree = ""; - }; - E8FA5D291B3CD3320095EF19 = { - isa = PBXGroup; - children = ( - E8FA5D341B3CD3320095EF19 /* CarthageExample */, - E8FA5D4A1B3CD3320095EF19 /* CarthageExampleTests */, - 3F636A5A29146AB600DB1CBC /* Frameworks */, - E8FA5D331B3CD3320095EF19 /* Products */, - ); - sourceTree = ""; - }; - E8FA5D331B3CD3320095EF19 /* Products */ = { - isa = PBXGroup; - children = ( - E8FA5D321B3CD3320095EF19 /* CarthageExample.app */, - E8FA5D471B3CD3320095EF19 /* CarthageExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E8FA5D341B3CD3320095EF19 /* CarthageExample */ = { - isa = PBXGroup; - children = ( - E8FA5D351B3CD3320095EF19 /* Supporting Files */, - E8FA5D371B3CD3320095EF19 /* AppDelegate.swift */, - E8FA5D3E1B3CD3320095EF19 /* Images.xcassets */, - E8FA5D401B3CD3320095EF19 /* LaunchScreen.xib */, - E8FA5D3B1B3CD3320095EF19 /* Main.storyboard */, - E8FA5D391B3CD3320095EF19 /* ViewController.swift */, - ); - path = CarthageExample; - sourceTree = ""; - }; - E8FA5D351B3CD3320095EF19 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8FA5D361B3CD3320095EF19 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E8FA5D4A1B3CD3320095EF19 /* CarthageExampleTests */ = { - isa = PBXGroup; - children = ( - E8FA5D4B1B3CD3320095EF19 /* Supporting Files */, - E8FA5D4D1B3CD3320095EF19 /* CarthageExampleTests.swift */, - ); - path = CarthageExampleTests; - sourceTree = ""; - }; - E8FA5D4B1B3CD3320095EF19 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8FA5D4C1B3CD3320095EF19 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8FA5D311B3CD3320095EF19 /* CarthageExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8FA5D511B3CD3320095EF19 /* Build configuration list for PBXNativeTarget "CarthageExample" */; - buildPhases = ( - E8FA5D2E1B3CD3320095EF19 /* Sources */, - E8FA5D2F1B3CD3320095EF19 /* Frameworks */, - E8FA5D301B3CD3320095EF19 /* Resources */, - 3F636A6129146AB700DB1CBC /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = CarthageExample; - productName = CarthageExample; - productReference = E8FA5D321B3CD3320095EF19 /* CarthageExample.app */; - productType = "com.apple.product-type.application"; - }; - E8FA5D461B3CD3320095EF19 /* CarthageExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8FA5D541B3CD3320095EF19 /* Build configuration list for PBXNativeTarget "CarthageExampleTests" */; - buildPhases = ( - E8FA5D431B3CD3320095EF19 /* Sources */, - E8FA5D441B3CD3320095EF19 /* Frameworks */, - E8FA5D451B3CD3320095EF19 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E8FA5D491B3CD3320095EF19 /* PBXTargetDependency */, - ); - name = CarthageExampleTests; - productName = CarthageExampleTests; - productReference = E8FA5D471B3CD3320095EF19 /* CarthageExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8FA5D2A1B3CD3320095EF19 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0700; - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8FA5D311B3CD3320095EF19 = { - CreatedOnToolsVersion = 6.3.2; - LastSwiftMigration = 1020; - }; - E8FA5D461B3CD3320095EF19 = { - CreatedOnToolsVersion = 6.3.2; - LastSwiftMigration = 1020; - TestTargetID = E8FA5D311B3CD3320095EF19; - }; - }; - }; - buildConfigurationList = E8FA5D2D1B3CD3320095EF19 /* Build configuration list for PBXProject "CarthageExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - English, - en, - Base, - ); - mainGroup = E8FA5D291B3CD3320095EF19; - productRefGroup = E8FA5D331B3CD3320095EF19 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8FA5D311B3CD3320095EF19 /* CarthageExample */, - E8FA5D461B3CD3320095EF19 /* CarthageExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8FA5D301B3CD3320095EF19 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8FA5D3F1B3CD3320095EF19 /* Images.xcassets in Resources */, - E8FA5D421B3CD3320095EF19 /* LaunchScreen.xib in Resources */, - E8FA5D3D1B3CD3320095EF19 /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8FA5D451B3CD3320095EF19 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8FA5D2E1B3CD3320095EF19 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8FA5D381B3CD3320095EF19 /* AppDelegate.swift in Sources */, - E8FA5D3A1B3CD3320095EF19 /* ViewController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8FA5D431B3CD3320095EF19 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8FA5D4E1B3CD3320095EF19 /* CarthageExampleTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8FA5D491B3CD3320095EF19 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8FA5D311B3CD3320095EF19 /* CarthageExample */; - targetProxy = E8FA5D481B3CD3320095EF19 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8FA5D3B1B3CD3320095EF19 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8FA5D3C1B3CD3320095EF19 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - E8FA5D401B3CD3320095EF19 /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - E8FA5D411B3CD3320095EF19 /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8FA5D4F1B3CD3320095EF19 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Carthage/Build/iOS"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - E8FA5D501B3CD3320095EF19 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Carthage/Build/iOS"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E8FA5D521B3CD3320095EF19 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = CarthageExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - E8FA5D531B3CD3320095EF19 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = CarthageExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - E8FA5D551B3CD3320095EF19 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = CarthageExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CarthageExample.app/CarthageExample"; - }; - name = Debug; - }; - E8FA5D561B3CD3320095EF19 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = CarthageExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CarthageExample.app/CarthageExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8FA5D2D1B3CD3320095EF19 /* Build configuration list for PBXProject "CarthageExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8FA5D4F1B3CD3320095EF19 /* Debug */, - E8FA5D501B3CD3320095EF19 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8FA5D511B3CD3320095EF19 /* Build configuration list for PBXNativeTarget "CarthageExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8FA5D521B3CD3320095EF19 /* Debug */, - E8FA5D531B3CD3320095EF19 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8FA5D541B3CD3320095EF19 /* Build configuration list for PBXNativeTarget "CarthageExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8FA5D551B3CD3320095EF19 /* Debug */, - E8FA5D561B3CD3320095EF19 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8FA5D2A1B3CD3320095EF19 /* Project object */; -} diff --git a/examples/installation/ios/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme b/examples/installation/ios/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme deleted file mode 100644 index 9c6b2727c9..0000000000 --- a/examples/installation/ios/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/swift/CarthageExample/CarthageExample/AppDelegate.swift b/examples/installation/ios/swift/CarthageExample/CarthageExample/AppDelegate.swift deleted file mode 100644 index 7ed237c9ed..0000000000 --- a/examples/installation/ios/swift/CarthageExample/CarthageExample/AppDelegate.swift +++ /dev/null @@ -1,33 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit -import RealmSwift - -public class MyModel: Object { - @objc dynamic var requiredProperty: String? -} - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - var window: UIWindow? - - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool { - return true - } -} diff --git a/examples/installation/ios/swift/CarthageExample/CarthageExample/Base.lproj/LaunchScreen.xib b/examples/installation/ios/swift/CarthageExample/CarthageExample/Base.lproj/LaunchScreen.xib deleted file mode 100644 index f41face980..0000000000 --- a/examples/installation/ios/swift/CarthageExample/CarthageExample/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/swift/CarthageExample/CarthageExample/Base.lproj/Main.storyboard b/examples/installation/ios/swift/CarthageExample/CarthageExample/Base.lproj/Main.storyboard deleted file mode 100644 index 52ea29ebae..0000000000 --- a/examples/installation/ios/swift/CarthageExample/CarthageExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/swift/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/ios/swift/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 118c98f746..0000000000 --- a/examples/installation/ios/swift/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/ios/swift/CarthageExample/CarthageExample/Info.plist b/examples/installation/ios/swift/CarthageExample/CarthageExample/Info.plist deleted file mode 100644 index 6905cc67bb..0000000000 --- a/examples/installation/ios/swift/CarthageExample/CarthageExample/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/ios/swift/CarthageExample/CarthageExample/ViewController.swift b/examples/installation/ios/swift/CarthageExample/CarthageExample/ViewController.swift deleted file mode 100644 index 036f973fff..0000000000 --- a/examples/installation/ios/swift/CarthageExample/CarthageExample/ViewController.swift +++ /dev/null @@ -1,34 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit - -class ViewController: UIViewController { - - override func viewDidLoad() { - super.viewDidLoad() - // Do any additional setup after loading the view, typically from a nib. - } - - override func didReceiveMemoryWarning() { - super.didReceiveMemoryWarning() - // Dispose of any resources that can be recreated. - } - - -} diff --git a/examples/installation/ios/swift/CarthageExample/CarthageExampleTests/CarthageExampleTests.swift b/examples/installation/ios/swift/CarthageExample/CarthageExampleTests/CarthageExampleTests.swift deleted file mode 100644 index 538fd6c376..0000000000 --- a/examples/installation/ios/swift/CarthageExample/CarthageExampleTests/CarthageExampleTests.swift +++ /dev/null @@ -1,29 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit -import XCTest -import CarthageExample -import RealmSwift - -class CarthageExampleTests: XCTestCase { - func testExample() { - // This is an example of a functional test case. - XCTAssertNotNil(MyModel() as AnyObject is Object) - } -} diff --git a/examples/installation/ios/swift/CarthageExample/CarthageExampleTests/Info.plist b/examples/installation/ios/swift/CarthageExample/CarthageExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/ios/swift/CarthageExample/CarthageExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj b/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj deleted file mode 100644 index 2003f54d02..0000000000 --- a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,573 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 17EB4D4F2F19EBBDA81280F3 /* Pods_CocoaPodsExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 82C2368D1525F05D7D2389C1 /* Pods_CocoaPodsExample.framework */; }; - 8C576D4F25BA4E58C332EBAF /* Pods_CocoaPodsExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 04E3E52794C088A4BE1DD6A7 /* Pods_CocoaPodsExampleTests.framework */; }; - E804A95C1AFAB8C100CCAE65 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E804A95B1AFAB8C100CCAE65 /* AppDelegate.swift */; }; - E804A95E1AFAB8C100CCAE65 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E804A95D1AFAB8C100CCAE65 /* ViewController.swift */; }; - E804A9611AFAB8C100CCAE65 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E804A95F1AFAB8C100CCAE65 /* Main.storyboard */; }; - E804A9631AFAB8C100CCAE65 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E804A9621AFAB8C100CCAE65 /* Images.xcassets */; }; - E804A9661AFAB8C100CCAE65 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = E804A9641AFAB8C100CCAE65 /* LaunchScreen.xib */; }; - E804A9721AFAB8C100CCAE65 /* CocoaPodsExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E804A9711AFAB8C100CCAE65 /* CocoaPodsExampleTests.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E804A96C1AFAB8C100CCAE65 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E804A94E1AFAB8C000CCAE65 /* Project object */; - proxyType = 1; - remoteGlobalIDString = E804A9551AFAB8C000CCAE65; - remoteInfo = CocoaPodsExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 04E3E52794C088A4BE1DD6A7 /* Pods_CocoaPodsExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CocoaPodsExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 2ADC9100D18B2BAC30B680DD /* Pods-CocoaPodsExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests.release.xcconfig"; sourceTree = ""; }; - 71E30B1C52460F5A680653A0 /* Pods-CocoaPodsExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests.debug.xcconfig"; sourceTree = ""; }; - 82C2368D1525F05D7D2389C1 /* Pods_CocoaPodsExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CocoaPodsExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 976909381633C824B2BB0356 /* Pods-CocoaPodsExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample.release.xcconfig"; sourceTree = ""; }; - DA72870271BBDD4918F5C212 /* Pods-CocoaPodsExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample.debug.xcconfig"; sourceTree = ""; }; - E804A9561AFAB8C100CCAE65 /* CocoaPodsExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CocoaPodsExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E804A95A1AFAB8C100CCAE65 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E804A95B1AFAB8C100CCAE65 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - E804A95D1AFAB8C100CCAE65 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - E804A9601AFAB8C100CCAE65 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E804A9621AFAB8C100CCAE65 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E804A9651AFAB8C100CCAE65 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - E804A96B1AFAB8C100CCAE65 /* CocoaPodsExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CocoaPodsExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E804A9701AFAB8C100CCAE65 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E804A9711AFAB8C100CCAE65 /* CocoaPodsExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CocoaPodsExampleTests.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E804A9531AFAB8C000CCAE65 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 17EB4D4F2F19EBBDA81280F3 /* Pods_CocoaPodsExample.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E804A9681AFAB8C100CCAE65 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 8C576D4F25BA4E58C332EBAF /* Pods_CocoaPodsExampleTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 0515F0ED02DFB6BAE60A31F6 /* Pods */ = { - isa = PBXGroup; - children = ( - DA72870271BBDD4918F5C212 /* Pods-CocoaPodsExample.debug.xcconfig */, - 976909381633C824B2BB0356 /* Pods-CocoaPodsExample.release.xcconfig */, - 71E30B1C52460F5A680653A0 /* Pods-CocoaPodsExampleTests.debug.xcconfig */, - 2ADC9100D18B2BAC30B680DD /* Pods-CocoaPodsExampleTests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; - 37FB61E2D478C92E6DCBB632 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 82C2368D1525F05D7D2389C1 /* Pods_CocoaPodsExample.framework */, - 04E3E52794C088A4BE1DD6A7 /* Pods_CocoaPodsExampleTests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - E804A94D1AFAB8C000CCAE65 = { - isa = PBXGroup; - children = ( - E804A9581AFAB8C100CCAE65 /* CocoaPodsExample */, - E804A96E1AFAB8C100CCAE65 /* CocoaPodsExampleTests */, - 37FB61E2D478C92E6DCBB632 /* Frameworks */, - 0515F0ED02DFB6BAE60A31F6 /* Pods */, - E804A9571AFAB8C100CCAE65 /* Products */, - ); - sourceTree = ""; - }; - E804A9571AFAB8C100CCAE65 /* Products */ = { - isa = PBXGroup; - children = ( - E804A9561AFAB8C100CCAE65 /* CocoaPodsExample.app */, - E804A96B1AFAB8C100CCAE65 /* CocoaPodsExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E804A9581AFAB8C100CCAE65 /* CocoaPodsExample */ = { - isa = PBXGroup; - children = ( - E804A9591AFAB8C100CCAE65 /* Supporting Files */, - E804A95B1AFAB8C100CCAE65 /* AppDelegate.swift */, - E804A9621AFAB8C100CCAE65 /* Images.xcassets */, - E804A9641AFAB8C100CCAE65 /* LaunchScreen.xib */, - E804A95F1AFAB8C100CCAE65 /* Main.storyboard */, - E804A95D1AFAB8C100CCAE65 /* ViewController.swift */, - ); - path = CocoaPodsExample; - sourceTree = ""; - }; - E804A9591AFAB8C100CCAE65 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E804A95A1AFAB8C100CCAE65 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E804A96E1AFAB8C100CCAE65 /* CocoaPodsExampleTests */ = { - isa = PBXGroup; - children = ( - E804A96F1AFAB8C100CCAE65 /* Supporting Files */, - E804A9711AFAB8C100CCAE65 /* CocoaPodsExampleTests.swift */, - ); - path = CocoaPodsExampleTests; - sourceTree = ""; - }; - E804A96F1AFAB8C100CCAE65 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E804A9701AFAB8C100CCAE65 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E804A9551AFAB8C000CCAE65 /* CocoaPodsExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E804A9751AFAB8C100CCAE65 /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */; - buildPhases = ( - 73CA85A780DDC8E79E313187 /* [CP] Check Pods Manifest.lock */, - E804A9521AFAB8C000CCAE65 /* Sources */, - E804A9531AFAB8C000CCAE65 /* Frameworks */, - E804A9541AFAB8C000CCAE65 /* Resources */, - 9984DA9057E125F0A0F22D3A /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = CocoaPodsExample; - productName = CocoaPodsExample; - productReference = E804A9561AFAB8C100CCAE65 /* CocoaPodsExample.app */; - productType = "com.apple.product-type.application"; - }; - E804A96A1AFAB8C100CCAE65 /* CocoaPodsExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E804A9781AFAB8C100CCAE65 /* Build configuration list for PBXNativeTarget "CocoaPodsExampleTests" */; - buildPhases = ( - 26913120C8A66DDEF358C3D1 /* [CP] Check Pods Manifest.lock */, - E804A9671AFAB8C100CCAE65 /* Sources */, - E804A9681AFAB8C100CCAE65 /* Frameworks */, - E804A9691AFAB8C100CCAE65 /* Resources */, - 0DB006C701EE2394A76B07DE /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - E804A96D1AFAB8C100CCAE65 /* PBXTargetDependency */, - ); - name = CocoaPodsExampleTests; - productName = CocoaPodsExampleTests; - productReference = E804A96B1AFAB8C100CCAE65 /* CocoaPodsExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E804A94E1AFAB8C000CCAE65 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0710; - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E804A9551AFAB8C000CCAE65 = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 1020; - }; - E804A96A1AFAB8C100CCAE65 = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 1020; - TestTargetID = E804A9551AFAB8C000CCAE65; - }; - }; - }; - buildConfigurationList = E804A9511AFAB8C000CCAE65 /* Build configuration list for PBXProject "CocoaPodsExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - English, - en, - Base, - ); - mainGroup = E804A94D1AFAB8C000CCAE65; - productRefGroup = E804A9571AFAB8C100CCAE65 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E804A9551AFAB8C000CCAE65 /* CocoaPodsExample */, - E804A96A1AFAB8C100CCAE65 /* CocoaPodsExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E804A9541AFAB8C000CCAE65 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E804A9631AFAB8C100CCAE65 /* Images.xcassets in Resources */, - E804A9661AFAB8C100CCAE65 /* LaunchScreen.xib in Resources */, - E804A9611AFAB8C100CCAE65 /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E804A9691AFAB8C100CCAE65 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 0DB006C701EE2394A76B07DE /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Realm/Realm.framework", - "${BUILT_PRODUCTS_DIR}/RealmSwift/RealmSwift.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RealmSwift.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 26913120C8A66DDEF358C3D1 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsExampleTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 73CA85A780DDC8E79E313187 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsExample-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 9984DA9057E125F0A0F22D3A /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Realm/Realm.framework", - "${BUILT_PRODUCTS_DIR}/RealmSwift/RealmSwift.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RealmSwift.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E804A9521AFAB8C000CCAE65 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E804A95C1AFAB8C100CCAE65 /* AppDelegate.swift in Sources */, - E804A95E1AFAB8C100CCAE65 /* ViewController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E804A9671AFAB8C100CCAE65 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E804A9721AFAB8C100CCAE65 /* CocoaPodsExampleTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E804A96D1AFAB8C100CCAE65 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E804A9551AFAB8C000CCAE65 /* CocoaPodsExample */; - targetProxy = E804A96C1AFAB8C100CCAE65 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E804A95F1AFAB8C100CCAE65 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E804A9601AFAB8C100CCAE65 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - E804A9641AFAB8C100CCAE65 /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - E804A9651AFAB8C100CCAE65 /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E804A9731AFAB8C100CCAE65 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - E804A9741AFAB8C100CCAE65 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E804A9761AFAB8C100CCAE65 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = DA72870271BBDD4918F5C212 /* Pods-CocoaPodsExample.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - E804A9771AFAB8C100CCAE65 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 976909381633C824B2BB0356 /* Pods-CocoaPodsExample.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - E804A9791AFAB8C100CCAE65 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 71E30B1C52460F5A680653A0 /* Pods-CocoaPodsExampleTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = CocoaPodsExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsExample.app/CocoaPodsExample"; - }; - name = Debug; - }; - E804A97A1AFAB8C100CCAE65 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2ADC9100D18B2BAC30B680DD /* Pods-CocoaPodsExampleTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - INFOPLIST_FILE = CocoaPodsExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsExample.app/CocoaPodsExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E804A9511AFAB8C000CCAE65 /* Build configuration list for PBXProject "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E804A9731AFAB8C100CCAE65 /* Debug */, - E804A9741AFAB8C100CCAE65 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E804A9751AFAB8C100CCAE65 /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E804A9761AFAB8C100CCAE65 /* Debug */, - E804A9771AFAB8C100CCAE65 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E804A9781AFAB8C100CCAE65 /* Build configuration list for PBXNativeTarget "CocoaPodsExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E804A9791AFAB8C100CCAE65 /* Debug */, - E804A97A1AFAB8C100CCAE65 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E804A94E1AFAB8C000CCAE65 /* Project object */; -} diff --git a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme b/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme deleted file mode 100644 index 9e017f20ee..0000000000 --- a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/AppDelegate.swift b/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/AppDelegate.swift deleted file mode 100644 index 855eb07c15..0000000000 --- a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/AppDelegate.swift +++ /dev/null @@ -1,33 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit -import RealmSwift - -open class MyModel: Object { - @objc dynamic var requiredProperty: String? -} - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - var window: UIWindow? - - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool { - return true - } -} diff --git a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib b/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib deleted file mode 100644 index eac286fe26..0000000000 --- a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard b/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard deleted file mode 100644 index 52ea29ebae..0000000000 --- a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 118c98f746..0000000000 --- a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Info.plist b/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Info.plist deleted file mode 100644 index 6905cc67bb..0000000000 --- a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/ViewController.swift b/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/ViewController.swift deleted file mode 100644 index 036f973fff..0000000000 --- a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExample/ViewController.swift +++ /dev/null @@ -1,34 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit - -class ViewController: UIViewController { - - override func viewDidLoad() { - super.viewDidLoad() - // Do any additional setup after loading the view, typically from a nib. - } - - override func didReceiveMemoryWarning() { - super.didReceiveMemoryWarning() - // Dispose of any resources that can be recreated. - } - - -} diff --git a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.swift b/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.swift deleted file mode 100644 index cc5d446451..0000000000 --- a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.swift +++ /dev/null @@ -1,29 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit -import XCTest -import CocoaPodsExample -import RealmSwift - -class CocoaPodsExampleTests: XCTestCase { - func testExample() { - // This is an example of a functional test case. - XCTAssertNotNil(MyModel() as AnyObject is Object) - } -} diff --git a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExampleTests/Info.plist b/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/ios/swift/CocoaPodsExample/CocoaPodsExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/ios/swift/CocoaPodsExample/Podfile b/examples/installation/ios/swift/CocoaPodsExample/Podfile deleted file mode 100644 index 130002ef5c..0000000000 --- a/examples/installation/ios/swift/CocoaPodsExample/Podfile +++ /dev/null @@ -1,24 +0,0 @@ -# Uncomment this line to define a global platform for your project -platform :ios, '11.0' - -branch = ENV['sha'] - -target 'CocoaPodsExample' do - use_frameworks! - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch - pod 'RealmSwift', git: 'https://github.com/realm/realm-swift.git', branch: branch -end - -target 'CocoaPodsExampleTests' do - use_frameworks! - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch - pod 'RealmSwift', git: 'https://github.com/realm/realm-swift.git', branch: branch -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - config.build_settings['GCC_GENERATE_DEBUGGING_SYMBOLS'] = 'NO' - end - end -end diff --git a/examples/installation/ios/swift/CocoaPodsSubdependency/Podfile b/examples/installation/ios/swift/CocoaPodsSubdependency/Podfile deleted file mode 100644 index b0dd8c7874..0000000000 --- a/examples/installation/ios/swift/CocoaPodsSubdependency/Podfile +++ /dev/null @@ -1,25 +0,0 @@ -# Uncomment this line to define a global platform for your project -platform :ios, '14.0' -use_modular_headers! - -branch = ENV['sha'] - -target 'CocoaPodsSubdependency' do - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch - pod 'RealmSwift', git: 'https://github.com/realm/realm-swift.git', branch: branch - pod 'SubRealm', :path => '../CocoaPodsSubdependency' -end - -target 'CocoaPodsSubdependencyTests' do - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch - pod 'RealmSwift', git: 'https://github.com/realm/realm-swift.git', branch: branch - pod 'SubRealm', :path => '../CocoaPodsSubdependency' -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - config.build_settings['GCC_GENERATE_DEBUGGING_SYMBOLS'] = 'NO' - end - end -end diff --git a/examples/installation/ios/swift/CocoaPodsSubdependency/SubRealm.podspec b/examples/installation/ios/swift/CocoaPodsSubdependency/SubRealm.podspec deleted file mode 100644 index cc93872367..0000000000 --- a/examples/installation/ios/swift/CocoaPodsSubdependency/SubRealm.podspec +++ /dev/null @@ -1,16 +0,0 @@ -Pod::Spec.new do |s| - s.name = "SubRealm" - s.version = "1.0.0" - s.summary = "Test Realm as a Subdependecy" - s.description = <<-DESC -SubRealm contains a cocoapods which uses RealmSwift as a subpendency. - DESC - s.homepage = "https://realm.io" - s.author = { 'Realm' => 'realm-help@mongodb.com' } - s.source = { :git => 'https://github.com/realm/realm-swift.git', :tag => "v#{s.version}" } - s.swift_version = '5' - s.ios.deployment_target = '14.0' - s.source_files = "Source/*.{swift}" - - s.dependency 'RealmSwift' -end diff --git a/examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency.xcodeproj/project.pbxproj b/examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency.xcodeproj/project.pbxproj deleted file mode 100644 index 57953a23bc..0000000000 --- a/examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency.xcodeproj/project.pbxproj +++ /dev/null @@ -1,577 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 56; - objects = { - -/* Begin PBXBuildFile section */ - 2CC35ABC0CFE6C4CC1BCE0EA /* libPods-CocoaPodsSubdependency.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC796545555469E7E39A73A /* libPods-CocoaPodsSubdependency.a */; }; - 94EBDAEF1EC24ECD7882342D /* libPods-CocoaPodsSubdependencyTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A0AD105ED829751BABE99216 /* libPods-CocoaPodsSubdependencyTests.a */; }; - ACA22F032A405B42002A1C08 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACA22F022A405B42002A1C08 /* ContentView.swift */; }; - ACA22F052A405B43002A1C08 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = ACA22F042A405B43002A1C08 /* Assets.xcassets */; }; - ACA22F082A405B43002A1C08 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = ACA22F072A405B43002A1C08 /* Preview Assets.xcassets */; }; - ACA22F122A405B44002A1C08 /* CocoaPodsSubdependencyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACA22F112A405B44002A1C08 /* CocoaPodsSubdependencyTests.swift */; }; - ACFD9BBE2A40A56A0035F160 /* CocoaPodsSubdependencyApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACFD9BBD2A40A56A0035F160 /* CocoaPodsSubdependencyApp.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - ACA22F0E2A405B44002A1C08 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = ACA22EF52A405B42002A1C08 /* Project object */; - proxyType = 1; - remoteGlobalIDString = ACA22EFC2A405B42002A1C08; - remoteInfo = CocoapodsSubdependency; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 32C25947BC93E79218FFB150 /* Pods-CocoaPodsSubdependencyTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsSubdependencyTests.debug.xcconfig"; path = "Target Support Files/Pods-CocoaPodsSubdependencyTests/Pods-CocoaPodsSubdependencyTests.debug.xcconfig"; sourceTree = ""; }; - 4CA90B1884A48D6EAF06391C /* Pods-CocoaPodsSubdependency.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsSubdependency.release.xcconfig"; path = "Target Support Files/Pods-CocoaPodsSubdependency/Pods-CocoaPodsSubdependency.release.xcconfig"; sourceTree = ""; }; - 8DC796545555469E7E39A73A /* libPods-CocoaPodsSubdependency.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-CocoaPodsSubdependency.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - A09B8B0F4586CD7441580005 /* Pods-CocoaPodsSubdependency.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsSubdependency.debug.xcconfig"; path = "Target Support Files/Pods-CocoaPodsSubdependency/Pods-CocoaPodsSubdependency.debug.xcconfig"; sourceTree = ""; }; - A0AD105ED829751BABE99216 /* libPods-CocoaPodsSubdependencyTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-CocoaPodsSubdependencyTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - ACA22EFD2A405B42002A1C08 /* CocoaPodsSubdependency.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CocoaPodsSubdependency.app; sourceTree = BUILT_PRODUCTS_DIR; }; - ACA22F022A405B42002A1C08 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; - ACA22F042A405B43002A1C08 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - ACA22F072A405B43002A1C08 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; - ACA22F0D2A405B44002A1C08 /* CocoaPodsSubdependencyTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CocoaPodsSubdependencyTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - ACA22F112A405B44002A1C08 /* CocoaPodsSubdependencyTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CocoaPodsSubdependencyTests.swift; sourceTree = ""; }; - ACFD9BBD2A40A56A0035F160 /* CocoaPodsSubdependencyApp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CocoaPodsSubdependencyApp.swift; sourceTree = ""; }; - E86F8EAF64F151620F280C3E /* Pods-CocoaPodsSubdependencyTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsSubdependencyTests.release.xcconfig"; path = "Target Support Files/Pods-CocoaPodsSubdependencyTests/Pods-CocoaPodsSubdependencyTests.release.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - ACA22EFA2A405B42002A1C08 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 2CC35ABC0CFE6C4CC1BCE0EA /* libPods-CocoaPodsSubdependency.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - ACA22F0A2A405B44002A1C08 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 94EBDAEF1EC24ECD7882342D /* libPods-CocoaPodsSubdependencyTests.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 23F4C7C8AA9EC05AD639174B /* Pods */ = { - isa = PBXGroup; - children = ( - A09B8B0F4586CD7441580005 /* Pods-CocoaPodsSubdependency.debug.xcconfig */, - 4CA90B1884A48D6EAF06391C /* Pods-CocoaPodsSubdependency.release.xcconfig */, - 32C25947BC93E79218FFB150 /* Pods-CocoaPodsSubdependencyTests.debug.xcconfig */, - E86F8EAF64F151620F280C3E /* Pods-CocoaPodsSubdependencyTests.release.xcconfig */, - ); - path = Pods; - sourceTree = ""; - }; - A0E65FF9591F1A3049274E7F /* Frameworks */ = { - isa = PBXGroup; - children = ( - 8DC796545555469E7E39A73A /* libPods-CocoaPodsSubdependency.a */, - A0AD105ED829751BABE99216 /* libPods-CocoaPodsSubdependencyTests.a */, - ); - name = Frameworks; - sourceTree = ""; - }; - ACA22EF42A405B42002A1C08 = { - isa = PBXGroup; - children = ( - ACA22EFF2A405B42002A1C08 /* CocoaPodsSubdependency */, - ACA22F102A405B44002A1C08 /* CocoaPodsSubdependencyTests */, - ACA22EFE2A405B42002A1C08 /* Products */, - 23F4C7C8AA9EC05AD639174B /* Pods */, - A0E65FF9591F1A3049274E7F /* Frameworks */, - ); - sourceTree = ""; - }; - ACA22EFE2A405B42002A1C08 /* Products */ = { - isa = PBXGroup; - children = ( - ACA22EFD2A405B42002A1C08 /* CocoaPodsSubdependency.app */, - ACA22F0D2A405B44002A1C08 /* CocoaPodsSubdependencyTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - ACA22EFF2A405B42002A1C08 /* CocoaPodsSubdependency */ = { - isa = PBXGroup; - children = ( - ACFD9BBD2A40A56A0035F160 /* CocoaPodsSubdependencyApp.swift */, - ACA22F022A405B42002A1C08 /* ContentView.swift */, - ACA22F042A405B43002A1C08 /* Assets.xcassets */, - ACA22F062A405B43002A1C08 /* Preview Content */, - ); - path = CocoaPodsSubdependency; - sourceTree = ""; - }; - ACA22F062A405B43002A1C08 /* Preview Content */ = { - isa = PBXGroup; - children = ( - ACA22F072A405B43002A1C08 /* Preview Assets.xcassets */, - ); - path = "Preview Content"; - sourceTree = ""; - }; - ACA22F102A405B44002A1C08 /* CocoaPodsSubdependencyTests */ = { - isa = PBXGroup; - children = ( - ACA22F112A405B44002A1C08 /* CocoaPodsSubdependencyTests.swift */, - ); - path = CocoaPodsSubdependencyTests; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - ACA22EFC2A405B42002A1C08 /* CocoaPodsSubdependency */ = { - isa = PBXNativeTarget; - buildConfigurationList = ACA22F212A405B44002A1C08 /* Build configuration list for PBXNativeTarget "CocoaPodsSubdependency" */; - buildPhases = ( - 6FB34B3720A387119AD57658 /* [CP] Check Pods Manifest.lock */, - ACA22EF92A405B42002A1C08 /* Sources */, - ACA22EFA2A405B42002A1C08 /* Frameworks */, - ACA22EFB2A405B42002A1C08 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = CocoaPodsSubdependency; - productName = CocoapodsSubdependency; - productReference = ACA22EFD2A405B42002A1C08 /* CocoaPodsSubdependency.app */; - productType = "com.apple.product-type.application"; - }; - ACA22F0C2A405B44002A1C08 /* CocoaPodsSubdependencyTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = ACA22F242A405B44002A1C08 /* Build configuration list for PBXNativeTarget "CocoaPodsSubdependencyTests" */; - buildPhases = ( - 6427C5B7E8BDF5E38A517F39 /* [CP] Check Pods Manifest.lock */, - ACA22F092A405B44002A1C08 /* Sources */, - ACA22F0A2A405B44002A1C08 /* Frameworks */, - ACA22F0B2A405B44002A1C08 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ACA22F0F2A405B44002A1C08 /* PBXTargetDependency */, - ); - name = CocoaPodsSubdependencyTests; - productName = CocoapodsSubdependencyTests; - productReference = ACA22F0D2A405B44002A1C08 /* CocoaPodsSubdependencyTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - ACA22EF52A405B42002A1C08 /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = 1; - LastSwiftUpdateCheck = 1500; - LastUpgradeCheck = 1500; - TargetAttributes = { - ACA22EFC2A405B42002A1C08 = { - CreatedOnToolsVersion = 15.0; - }; - ACA22F0C2A405B44002A1C08 = { - CreatedOnToolsVersion = 15.0; - TestTargetID = ACA22EFC2A405B42002A1C08; - }; - }; - }; - buildConfigurationList = ACA22EF82A405B42002A1C08 /* Build configuration list for PBXProject "CocoaPodsSubdependency" */; - compatibilityVersion = "Xcode 14.0"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = ACA22EF42A405B42002A1C08; - productRefGroup = ACA22EFE2A405B42002A1C08 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - ACA22EFC2A405B42002A1C08 /* CocoaPodsSubdependency */, - ACA22F0C2A405B44002A1C08 /* CocoaPodsSubdependencyTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - ACA22EFB2A405B42002A1C08 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ACA22F082A405B43002A1C08 /* Preview Assets.xcassets in Resources */, - ACA22F052A405B43002A1C08 /* Assets.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - ACA22F0B2A405B44002A1C08 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 6427C5B7E8BDF5E38A517F39 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsSubdependencyTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 6FB34B3720A387119AD57658 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsSubdependency-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - ACA22EF92A405B42002A1C08 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ACA22F032A405B42002A1C08 /* ContentView.swift in Sources */, - ACFD9BBE2A40A56A0035F160 /* CocoaPodsSubdependencyApp.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - ACA22F092A405B44002A1C08 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ACA22F122A405B44002A1C08 /* CocoaPodsSubdependencyTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - ACA22F0F2A405B44002A1C08 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = ACA22EFC2A405B42002A1C08 /* CocoaPodsSubdependency */; - targetProxy = ACA22F0E2A405B44002A1C08 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - ACA22F1F2A405B44002A1C08 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu17; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - ACA22F202A405B44002A1C08 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu17; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - ACA22F222A405B44002A1C08 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A09B8B0F4586CD7441580005 /* Pods-CocoaPodsSubdependency.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_IDENTITY = "Apple Development"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_ASSET_PATHS = "\"CocoapodsSubdependency/Preview Content\""; - DEVELOPMENT_TEAM = ""; - ENABLE_PREVIEWS = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; - }; - name = Debug; - }; - ACA22F232A405B44002A1C08 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4CA90B1884A48D6EAF06391C /* Pods-CocoaPodsSubdependency.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_IDENTITY = "Apple Development"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_ASSET_PATHS = "\"CocoapodsSubdependency/Preview Content\""; - DEVELOPMENT_TEAM = ""; - ENABLE_PREVIEWS = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; - }; - name = Release; - }; - ACA22F252A405B44002A1C08 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 32C25947BC93E79218FFB150 /* Pods-CocoaPodsSubdependencyTests.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = ""; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsSubdependency.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/CocoaPodsSubdependency"; - }; - name = Debug; - }; - ACA22F262A405B44002A1C08 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E86F8EAF64F151620F280C3E /* Pods-CocoaPodsSubdependencyTests.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = ""; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsSubdependency.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/CocoaPodsSubdependency"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - ACA22EF82A405B42002A1C08 /* Build configuration list for PBXProject "CocoaPodsSubdependency" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - ACA22F1F2A405B44002A1C08 /* Debug */, - ACA22F202A405B44002A1C08 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - ACA22F212A405B44002A1C08 /* Build configuration list for PBXNativeTarget "CocoaPodsSubdependency" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - ACA22F222A405B44002A1C08 /* Debug */, - ACA22F232A405B44002A1C08 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - ACA22F242A405B44002A1C08 /* Build configuration list for PBXNativeTarget "CocoaPodsSubdependencyTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - ACA22F252A405B44002A1C08 /* Debug */, - ACA22F262A405B44002A1C08 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = ACA22EF52A405B42002A1C08 /* Project object */; -} diff --git a/examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency/Assets.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 13613e3ee1..0000000000 --- a/examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "platform" : "ios", - "size" : "1024x1024" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency/ContentView.swift b/examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency/ContentView.swift deleted file mode 100644 index 80cdb30641..0000000000 --- a/examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependency/ContentView.swift +++ /dev/null @@ -1,47 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2023 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import SwiftUI -import SubRealm - -struct ContentView: View { - var body: some View { - VStack { - Image(systemName: "globe") - .imageScale(.large) - Text("Hello, world!") - } - .padding() - .onAppear { - print(Test.test() ?? "") - } - } -} - -public class Test { - public static func test() -> TestObject? { - do { - try SubRealm.storeTestModel() - let model = try SubRealm.findTestModel() - return model ?? nil - } catch { - print(error) - return nil - } - } -} diff --git a/examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependencyTests/CocoaPodsSubdependencyTests.swift b/examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependencyTests/CocoaPodsSubdependencyTests.swift deleted file mode 100644 index e4cec7f50c..0000000000 --- a/examples/installation/ios/swift/CocoapodsSubdependency/CocoaPodsSubdependencyTests/CocoaPodsSubdependencyTests.swift +++ /dev/null @@ -1,28 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2023 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import XCTest -@testable import CocoaPodsSubdependency - -class CocoaPodsSubdependencyTests: XCTestCase { - func testExample() throws { - let result = Test.test() - XCTAssertNotNil(result) - XCTAssertEqual(result!.name, "Test") - } -} diff --git a/examples/installation/ios/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj b/examples/installation/ios/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj deleted file mode 100644 index 9b3819580d..0000000000 --- a/examples/installation/ios/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,492 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - C07E5D871B15083F00ED625C /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = C07E5D861B15083F00ED625C /* Realm.xcframework */; }; - C07E5D891B15084800ED625C /* Realm.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = C07E5D861B15083F00ED625C /* Realm.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - E8AD59E61AFAB62100E79784 /* RealmSwift.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = E8AD59E51AFAB62100E79784 /* RealmSwift.xcframework */; }; - E8AD59E71AFAB62100E79784 /* RealmSwift.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E8AD59E51AFAB62100E79784 /* RealmSwift.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - E8E060C11AFAB5EB00484DEE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8E060C01AFAB5EB00484DEE /* AppDelegate.swift */; }; - E8E060C31AFAB5EB00484DEE /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8E060C21AFAB5EB00484DEE /* ViewController.swift */; }; - E8E060C61AFAB5EB00484DEE /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8E060C41AFAB5EB00484DEE /* Main.storyboard */; }; - E8E060C81AFAB5EB00484DEE /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E8E060C71AFAB5EB00484DEE /* Images.xcassets */; }; - E8E060CB1AFAB5EB00484DEE /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = E8E060C91AFAB5EB00484DEE /* LaunchScreen.xib */; }; - E8E060D71AFAB5EB00484DEE /* DynamicExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8E060D61AFAB5EB00484DEE /* DynamicExampleTests.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8E060D11AFAB5EB00484DEE /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8E060B31AFAB5EB00484DEE /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8E060BA1AFAB5EB00484DEE; - remoteInfo = DynamicExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E8AD59E81AFAB62100E79784 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - C07E5D891B15084800ED625C /* Realm.xcframework in Embed Frameworks */, - E8AD59E71AFAB62100E79784 /* RealmSwift.xcframework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - C07E5D861B15083F00ED625C /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = "../../../realm-swift-latest/Realm.xcframework"; sourceTree = ""; }; - E8AD59E51AFAB62100E79784 /* RealmSwift.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = RealmSwift.xcframework; path = "../../../realm-swift-latest/RealmSwift.xcframework"; sourceTree = ""; }; - E8E060BB1AFAB5EB00484DEE /* DynamicExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DynamicExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8E060BF1AFAB5EB00484DEE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8E060C01AFAB5EB00484DEE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - E8E060C21AFAB5EB00484DEE /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - E8E060C51AFAB5EB00484DEE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E8E060C71AFAB5EB00484DEE /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E8E060CA1AFAB5EB00484DEE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - E8E060D01AFAB5EB00484DEE /* DynamicExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DynamicExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E8E060D51AFAB5EB00484DEE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8E060D61AFAB5EB00484DEE /* DynamicExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DynamicExampleTests.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8E060B81AFAB5EB00484DEE /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C07E5D871B15083F00ED625C /* Realm.xcframework in Frameworks */, - E8AD59E61AFAB62100E79784 /* RealmSwift.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8E060CD1AFAB5EB00484DEE /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - E8E060B21AFAB5EB00484DEE = { - isa = PBXGroup; - children = ( - E8E060BD1AFAB5EB00484DEE /* DynamicExample */, - E8E060D31AFAB5EB00484DEE /* DynamicExampleTests */, - E8E060BC1AFAB5EB00484DEE /* Products */, - C07E5D861B15083F00ED625C /* Realm.xcframework */, - E8AD59E51AFAB62100E79784 /* RealmSwift.xcframework */, - ); - sourceTree = ""; - }; - E8E060BC1AFAB5EB00484DEE /* Products */ = { - isa = PBXGroup; - children = ( - E8E060BB1AFAB5EB00484DEE /* DynamicExample.app */, - E8E060D01AFAB5EB00484DEE /* DynamicExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E8E060BD1AFAB5EB00484DEE /* DynamicExample */ = { - isa = PBXGroup; - children = ( - E8E060BE1AFAB5EB00484DEE /* Supporting Files */, - E8E060C01AFAB5EB00484DEE /* AppDelegate.swift */, - E8E060C71AFAB5EB00484DEE /* Images.xcassets */, - E8E060C91AFAB5EB00484DEE /* LaunchScreen.xib */, - E8E060C41AFAB5EB00484DEE /* Main.storyboard */, - E8E060C21AFAB5EB00484DEE /* ViewController.swift */, - ); - path = DynamicExample; - sourceTree = ""; - }; - E8E060BE1AFAB5EB00484DEE /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8E060BF1AFAB5EB00484DEE /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E8E060D31AFAB5EB00484DEE /* DynamicExampleTests */ = { - isa = PBXGroup; - children = ( - E8E060D41AFAB5EB00484DEE /* Supporting Files */, - E8E060D61AFAB5EB00484DEE /* DynamicExampleTests.swift */, - ); - path = DynamicExampleTests; - sourceTree = ""; - }; - E8E060D41AFAB5EB00484DEE /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8E060D51AFAB5EB00484DEE /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8E060BA1AFAB5EB00484DEE /* DynamicExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8E060DA1AFAB5EB00484DEE /* Build configuration list for PBXNativeTarget "DynamicExample" */; - buildPhases = ( - E8E060B71AFAB5EB00484DEE /* Sources */, - E8E060B81AFAB5EB00484DEE /* Frameworks */, - E8E060B91AFAB5EB00484DEE /* Resources */, - E8AD59E81AFAB62100E79784 /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = DynamicExample; - productName = DynamicExample; - productReference = E8E060BB1AFAB5EB00484DEE /* DynamicExample.app */; - productType = "com.apple.product-type.application"; - }; - E8E060CF1AFAB5EB00484DEE /* DynamicExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8E060DD1AFAB5EB00484DEE /* Build configuration list for PBXNativeTarget "DynamicExampleTests" */; - buildPhases = ( - E8E060CC1AFAB5EB00484DEE /* Sources */, - E8E060CD1AFAB5EB00484DEE /* Frameworks */, - E8E060CE1AFAB5EB00484DEE /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E8E060D21AFAB5EB00484DEE /* PBXTargetDependency */, - ); - name = DynamicExampleTests; - productName = DynamicExampleTests; - productReference = E8E060D01AFAB5EB00484DEE /* DynamicExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8E060B31AFAB5EB00484DEE /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0710; - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8E060BA1AFAB5EB00484DEE = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 1020; - }; - E8E060CF1AFAB5EB00484DEE = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 1020; - TestTargetID = E8E060BA1AFAB5EB00484DEE; - }; - }; - }; - buildConfigurationList = E8E060B61AFAB5EB00484DEE /* Build configuration list for PBXProject "DynamicExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - English, - en, - Base, - ); - mainGroup = E8E060B21AFAB5EB00484DEE; - productRefGroup = E8E060BC1AFAB5EB00484DEE /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8E060BA1AFAB5EB00484DEE /* DynamicExample */, - E8E060CF1AFAB5EB00484DEE /* DynamicExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8E060B91AFAB5EB00484DEE /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8E060C81AFAB5EB00484DEE /* Images.xcassets in Resources */, - E8E060CB1AFAB5EB00484DEE /* LaunchScreen.xib in Resources */, - E8E060C61AFAB5EB00484DEE /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8E060CE1AFAB5EB00484DEE /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8E060B71AFAB5EB00484DEE /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8E060C11AFAB5EB00484DEE /* AppDelegate.swift in Sources */, - E8E060C31AFAB5EB00484DEE /* ViewController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8E060CC1AFAB5EB00484DEE /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8E060D71AFAB5EB00484DEE /* DynamicExampleTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8E060D21AFAB5EB00484DEE /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8E060BA1AFAB5EB00484DEE /* DynamicExample */; - targetProxy = E8E060D11AFAB5EB00484DEE /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8E060C41AFAB5EB00484DEE /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8E060C51AFAB5EB00484DEE /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - E8E060C91AFAB5EB00484DEE /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - E8E060CA1AFAB5EB00484DEE /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8E060D81AFAB5EB00484DEE /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = "../../../realm-swift-latest/ios/swift-12.2"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - E8E060D91AFAB5EB00484DEE /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = "../../../realm-swift-latest/ios/swift-12.2"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E8E060DB1AFAB5EB00484DEE /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = DynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - E8E060DC1AFAB5EB00484DEE /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = DynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - E8E060DE1AFAB5EB00484DEE /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = DynamicExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DynamicExample.app/DynamicExample"; - }; - name = Debug; - }; - E8E060DF1AFAB5EB00484DEE /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = DynamicExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DynamicExample.app/DynamicExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8E060B61AFAB5EB00484DEE /* Build configuration list for PBXProject "DynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8E060D81AFAB5EB00484DEE /* Debug */, - E8E060D91AFAB5EB00484DEE /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8E060DA1AFAB5EB00484DEE /* Build configuration list for PBXNativeTarget "DynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8E060DB1AFAB5EB00484DEE /* Debug */, - E8E060DC1AFAB5EB00484DEE /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8E060DD1AFAB5EB00484DEE /* Build configuration list for PBXNativeTarget "DynamicExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8E060DE1AFAB5EB00484DEE /* Debug */, - E8E060DF1AFAB5EB00484DEE /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8E060B31AFAB5EB00484DEE /* Project object */; -} diff --git a/examples/installation/ios/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme b/examples/installation/ios/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme deleted file mode 100644 index d86dfe4cbc..0000000000 --- a/examples/installation/ios/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/swift/DynamicExample/DynamicExample/AppDelegate.swift b/examples/installation/ios/swift/DynamicExample/DynamicExample/AppDelegate.swift deleted file mode 100644 index b72854e0b2..0000000000 --- a/examples/installation/ios/swift/DynamicExample/DynamicExample/AppDelegate.swift +++ /dev/null @@ -1,33 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit -import RealmSwift - -public class MyModel: Object { - @objc dynamic var value = 0 -} - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - var window: UIWindow? - - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool { - return true - } -} diff --git a/examples/installation/ios/swift/DynamicExample/DynamicExample/Base.lproj/LaunchScreen.xib b/examples/installation/ios/swift/DynamicExample/DynamicExample/Base.lproj/LaunchScreen.xib deleted file mode 100644 index 4180b2ff31..0000000000 --- a/examples/installation/ios/swift/DynamicExample/DynamicExample/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/swift/DynamicExample/DynamicExample/Base.lproj/Main.storyboard b/examples/installation/ios/swift/DynamicExample/DynamicExample/Base.lproj/Main.storyboard deleted file mode 100644 index 52ea29ebae..0000000000 --- a/examples/installation/ios/swift/DynamicExample/DynamicExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/swift/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/ios/swift/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 118c98f746..0000000000 --- a/examples/installation/ios/swift/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/ios/swift/DynamicExample/DynamicExample/Info.plist b/examples/installation/ios/swift/DynamicExample/DynamicExample/Info.plist deleted file mode 100644 index 6905cc67bb..0000000000 --- a/examples/installation/ios/swift/DynamicExample/DynamicExample/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/ios/swift/DynamicExample/DynamicExample/ViewController.swift b/examples/installation/ios/swift/DynamicExample/DynamicExample/ViewController.swift deleted file mode 100644 index 036f973fff..0000000000 --- a/examples/installation/ios/swift/DynamicExample/DynamicExample/ViewController.swift +++ /dev/null @@ -1,34 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit - -class ViewController: UIViewController { - - override func viewDidLoad() { - super.viewDidLoad() - // Do any additional setup after loading the view, typically from a nib. - } - - override func didReceiveMemoryWarning() { - super.didReceiveMemoryWarning() - // Dispose of any resources that can be recreated. - } - - -} diff --git a/examples/installation/ios/swift/DynamicExample/DynamicExampleTests/DynamicExampleTests.swift b/examples/installation/ios/swift/DynamicExample/DynamicExampleTests/DynamicExampleTests.swift deleted file mode 100644 index 4295a0791b..0000000000 --- a/examples/installation/ios/swift/DynamicExample/DynamicExampleTests/DynamicExampleTests.swift +++ /dev/null @@ -1,29 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit -import XCTest -import DynamicExample -import RealmSwift - -class DynamicExampleTests: XCTestCase { - func testExample() { - // This is an example of a functional test case. - XCTAssertNotNil(MyModel() as AnyObject is Object) - } -} diff --git a/examples/installation/ios/swift/DynamicExample/DynamicExampleTests/Info.plist b/examples/installation/ios/swift/DynamicExample/DynamicExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/ios/swift/DynamicExample/DynamicExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/AppDelegate.swift b/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/AppDelegate.swift deleted file mode 100644 index 414414287f..0000000000 --- a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/AppDelegate.swift +++ /dev/null @@ -1,32 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit -import RealmSwift - -public class MyObject: Object { - @objc dynamic var value = 0 -} - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { - _ = try! Realm() - return true - } -} diff --git a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Assets.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d8db8d65fd..0000000000 --- a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - }, - { - "idiom" : "ipad", - "size" : "20x20", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "20x20", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "29x29", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "40x40", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "76x76", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "76x76", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "83.5x83.5", - "scale" : "2x" - }, - { - "idiom" : "ios-marketing", - "size" : "1024x1024", - "scale" : "1x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Assets.xcassets/Contents.json b/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Assets.xcassets/Contents.json deleted file mode 100644 index da4a164c91..0000000000 --- a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Assets.xcassets/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Base.lproj/LaunchScreen.storyboard b/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index 865e9329f3..0000000000 --- a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Base.lproj/Main.storyboard b/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Base.lproj/Main.storyboard deleted file mode 100644 index 25a763858e..0000000000 --- a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Info.plist b/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Info.plist deleted file mode 100644 index 2a3483c0d2..0000000000 --- a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExample/Info.plist +++ /dev/null @@ -1,64 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - $(PRODUCT_BUNDLE_PACKAGE_TYPE) - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UIApplicationSceneManifest - - UIApplicationSupportsMultipleScenes - - UISceneConfigurations - - UIWindowSceneSessionRoleApplication - - - UISceneConfigurationName - Default Configuration - UISceneDelegateClassName - $(PRODUCT_MODULE_NAME).SceneDelegate - UISceneStoryboardFile - Main - - - - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExampleTests/Info.plist b/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExampleTests/Info.plist deleted file mode 100644 index 64d65ca495..0000000000 --- a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExampleTests/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - $(PRODUCT_BUNDLE_PACKAGE_TYPE) - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExampleTests/SwiftPackageManagerExampleTests.swift b/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExampleTests/SwiftPackageManagerExampleTests.swift deleted file mode 100644 index f1b1a14c3b..0000000000 --- a/examples/installation/ios/swift/SwiftPackageManagerExample/SwiftPackageManagerExampleTests/SwiftPackageManagerExampleTests.swift +++ /dev/null @@ -1,30 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2020 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import XCTest -import SwiftPackageManagerExample -import RealmSwift - -class SwiftPackageManagerExampleTests: XCTestCase { - func testExample() { - let realm = try! Realm() - try! realm.write { - _ = realm.create(MyObject.self, value: [1]) - } - } -} diff --git a/examples/installation/ios/swift/SwiftPackageManagerExample/project.pbxproj b/examples/installation/ios/swift/SwiftPackageManagerExample/project.pbxproj deleted file mode 100644 index 59c79a469d..0000000000 --- a/examples/installation/ios/swift/SwiftPackageManagerExample/project.pbxproj +++ /dev/null @@ -1,505 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 3FBA18EA24759DC4002B0DCE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FBA18E924759DC4002B0DCE /* AppDelegate.swift */; }; - 3FBA18F124759DC4002B0DCE /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3FBA18EF24759DC4002B0DCE /* Main.storyboard */; }; - 3FBA18F324759DC5002B0DCE /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3FBA18F224759DC5002B0DCE /* Assets.xcassets */; }; - 3FBA18F624759DC5002B0DCE /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3FBA18F424759DC5002B0DCE /* LaunchScreen.storyboard */; }; - 3FBA190124759DC5002B0DCE /* SwiftPackageManagerExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FBA190024759DC5002B0DCE /* SwiftPackageManagerExampleTests.swift */; }; - CFD120D0276CFCE400D831E7 /* Realm in Frameworks */ = {isa = PBXBuildFile; productRef = CFD120CF276CFCE400D831E7 /* Realm */; }; - CFD120D2276CFCE400D831E7 /* RealmSwift in Frameworks */ = {isa = PBXBuildFile; productRef = CFD120D1276CFCE400D831E7 /* RealmSwift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 3FBA18FD24759DC5002B0DCE /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 3FBA18DE24759DC4002B0DCE /* Project object */; - proxyType = 1; - remoteGlobalIDString = 3FBA18E524759DC4002B0DCE; - remoteInfo = SwiftPackageManagerExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 3FBA18E624759DC4002B0DCE /* SwiftPackageManagerExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwiftPackageManagerExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 3FBA18E924759DC4002B0DCE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 3FBA18F024759DC4002B0DCE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 3FBA18F224759DC5002B0DCE /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 3FBA18F524759DC5002B0DCE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 3FBA18F724759DC5002B0DCE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 3FBA18FC24759DC5002B0DCE /* SwiftPackageManagerExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwiftPackageManagerExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 3FBA190024759DC5002B0DCE /* SwiftPackageManagerExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftPackageManagerExampleTests.swift; sourceTree = ""; }; - 3FBA190224759DC5002B0DCE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 3FBA18E324759DC4002B0DCE /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - CFD120D2276CFCE400D831E7 /* RealmSwift in Frameworks */, - CFD120D0276CFCE400D831E7 /* Realm in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3FBA18F924759DC5002B0DCE /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 3FBA18DD24759DC4002B0DCE = { - isa = PBXGroup; - children = ( - 3FBA18E824759DC4002B0DCE /* SwiftPackageManagerExample */, - 3FBA18FF24759DC5002B0DCE /* SwiftPackageManagerExampleTests */, - 3FBA18E724759DC4002B0DCE /* Products */, - ); - sourceTree = ""; - }; - 3FBA18E724759DC4002B0DCE /* Products */ = { - isa = PBXGroup; - children = ( - 3FBA18E624759DC4002B0DCE /* SwiftPackageManagerExample.app */, - 3FBA18FC24759DC5002B0DCE /* SwiftPackageManagerExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 3FBA18E824759DC4002B0DCE /* SwiftPackageManagerExample */ = { - isa = PBXGroup; - children = ( - 3FBA18E924759DC4002B0DCE /* AppDelegate.swift */, - 3FBA18EF24759DC4002B0DCE /* Main.storyboard */, - 3FBA18F224759DC5002B0DCE /* Assets.xcassets */, - 3FBA18F424759DC5002B0DCE /* LaunchScreen.storyboard */, - 3FBA18F724759DC5002B0DCE /* Info.plist */, - ); - path = SwiftPackageManagerExample; - sourceTree = ""; - }; - 3FBA18FF24759DC5002B0DCE /* SwiftPackageManagerExampleTests */ = { - isa = PBXGroup; - children = ( - 3FBA190024759DC5002B0DCE /* SwiftPackageManagerExampleTests.swift */, - 3FBA190224759DC5002B0DCE /* Info.plist */, - ); - path = SwiftPackageManagerExampleTests; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 3FBA18E524759DC4002B0DCE /* SwiftPackageManagerExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = 3FBA190524759DC5002B0DCE /* Build configuration list for PBXNativeTarget "SwiftPackageManagerExample" */; - buildPhases = ( - 3FBA18E224759DC4002B0DCE /* Sources */, - 3FBA18E324759DC4002B0DCE /* Frameworks */, - 3FBA18E424759DC4002B0DCE /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = SwiftPackageManagerExample; - packageProductDependencies = ( - CFD120CF276CFCE400D831E7 /* Realm */, - CFD120D1276CFCE400D831E7 /* RealmSwift */, - ); - productName = SwiftPackageManagerExample; - productReference = 3FBA18E624759DC4002B0DCE /* SwiftPackageManagerExample.app */; - productType = "com.apple.product-type.application"; - }; - 3FBA18FB24759DC5002B0DCE /* SwiftPackageManagerExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 3FBA190824759DC5002B0DCE /* Build configuration list for PBXNativeTarget "SwiftPackageManagerExampleTests" */; - buildPhases = ( - 3FBA18F824759DC5002B0DCE /* Sources */, - 3FBA18F924759DC5002B0DCE /* Frameworks */, - 3FBA18FA24759DC5002B0DCE /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 3FBA18FE24759DC5002B0DCE /* PBXTargetDependency */, - ); - name = SwiftPackageManagerExampleTests; - productName = SwiftPackageManagerExampleTests; - productReference = 3FBA18FC24759DC5002B0DCE /* SwiftPackageManagerExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 3FBA18DE24759DC4002B0DCE /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 1130; - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - 3FBA18E524759DC4002B0DCE = { - CreatedOnToolsVersion = 11.3.1; - }; - 3FBA18FB24759DC5002B0DCE = { - CreatedOnToolsVersion = 11.3.1; - TestTargetID = 3FBA18E524759DC4002B0DCE; - }; - }; - }; - buildConfigurationList = 3FBA18E124759DC4002B0DCE /* Build configuration list for PBXProject "SwiftPackageManagerExample" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 3FBA18DD24759DC4002B0DCE; - packageReferences = ( - CFD120CE276CFCE400D831E7 /* XCRemoteSwiftPackageReference "realm-swift" */, - ); - productRefGroup = 3FBA18E724759DC4002B0DCE /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 3FBA18E524759DC4002B0DCE /* SwiftPackageManagerExample */, - 3FBA18FB24759DC5002B0DCE /* SwiftPackageManagerExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 3FBA18E424759DC4002B0DCE /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3FBA18F624759DC5002B0DCE /* LaunchScreen.storyboard in Resources */, - 3FBA18F324759DC5002B0DCE /* Assets.xcassets in Resources */, - 3FBA18F124759DC4002B0DCE /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3FBA18FA24759DC5002B0DCE /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 3FBA18E224759DC4002B0DCE /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3FBA18EA24759DC4002B0DCE /* AppDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3FBA18F824759DC5002B0DCE /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3FBA190124759DC5002B0DCE /* SwiftPackageManagerExampleTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 3FBA18FE24759DC5002B0DCE /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 3FBA18E524759DC4002B0DCE /* SwiftPackageManagerExample */; - targetProxy = 3FBA18FD24759DC5002B0DCE /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 3FBA18EF24759DC4002B0DCE /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 3FBA18F024759DC4002B0DCE /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 3FBA18F424759DC5002B0DCE /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 3FBA18F524759DC5002B0DCE /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 3FBA190324759DC5002B0DCE /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.2; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 3FBA190424759DC5002B0DCE /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.2; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 3FBA190624759DC5002B0DCE /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = QX5CR2FTN2; - INFOPLIST_FILE = SwiftPackageManagerExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.Realm.SwiftPackageManagerExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 3FBA190724759DC5002B0DCE /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = QX5CR2FTN2; - INFOPLIST_FILE = SwiftPackageManagerExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.Realm.SwiftPackageManagerExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - 3FBA190924759DC5002B0DCE /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = QX5CR2FTN2; - INFOPLIST_FILE = SwiftPackageManagerExampleTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 13.2; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.Realm.SwiftPackageManagerExampleTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwiftPackageManagerExample.app/SwiftPackageManagerExample"; - }; - name = Debug; - }; - 3FBA190A24759DC5002B0DCE /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = QX5CR2FTN2; - INFOPLIST_FILE = SwiftPackageManagerExampleTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 13.2; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.Realm.SwiftPackageManagerExampleTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwiftPackageManagerExample.app/SwiftPackageManagerExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 3FBA18E124759DC4002B0DCE /* Build configuration list for PBXProject "SwiftPackageManagerExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3FBA190324759DC5002B0DCE /* Debug */, - 3FBA190424759DC5002B0DCE /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 3FBA190524759DC5002B0DCE /* Build configuration list for PBXNativeTarget "SwiftPackageManagerExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3FBA190624759DC5002B0DCE /* Debug */, - 3FBA190724759DC5002B0DCE /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 3FBA190824759DC5002B0DCE /* Build configuration list for PBXNativeTarget "SwiftPackageManagerExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3FBA190924759DC5002B0DCE /* Debug */, - 3FBA190A24759DC5002B0DCE /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - -/* Begin XCRemoteSwiftPackageReference section */ - CFD120CE276CFCE400D831E7 /* XCRemoteSwiftPackageReference "realm-swift" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/realm/realm-swift"; - requirement = { - branch = master; - kind = branch; - }; - }; -/* End XCRemoteSwiftPackageReference section */ - -/* Begin XCSwiftPackageProductDependency section */ - CFD120CF276CFCE400D831E7 /* Realm */ = { - isa = XCSwiftPackageProductDependency; - package = CFD120CE276CFCE400D831E7 /* XCRemoteSwiftPackageReference "realm-swift" */; - productName = Realm; - }; - CFD120D1276CFCE400D831E7 /* RealmSwift */ = { - isa = XCSwiftPackageProductDependency; - package = CFD120CE276CFCE400D831E7 /* XCRemoteSwiftPackageReference "realm-swift" */; - productName = RealmSwift; - }; -/* End XCSwiftPackageProductDependency section */ - }; - rootObject = 3FBA18DE24759DC4002B0DCE /* Project object */; -} diff --git a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj b/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj deleted file mode 100644 index 645453e434..0000000000 --- a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,512 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - CF5971C528117BCE00094EA3 /* RealmSwift.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = CF5971C328117BCE00094EA3 /* RealmSwift.xcframework */; }; - CF5971C628117BCE00094EA3 /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = CF5971C428117BCE00094EA3 /* Realm.xcframework */; }; - E8E060C11AFAB5EB00484DEE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8E060C01AFAB5EB00484DEE /* AppDelegate.swift */; }; - E8E060C31AFAB5EB00484DEE /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8E060C21AFAB5EB00484DEE /* ViewController.swift */; }; - E8E060C61AFAB5EB00484DEE /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8E060C41AFAB5EB00484DEE /* Main.storyboard */; }; - E8E060C81AFAB5EB00484DEE /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E8E060C71AFAB5EB00484DEE /* Images.xcassets */; }; - E8E060CB1AFAB5EB00484DEE /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = E8E060C91AFAB5EB00484DEE /* LaunchScreen.xib */; }; - E8E060D71AFAB5EB00484DEE /* XCFrameworkExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8E060D61AFAB5EB00484DEE /* XCFrameworkExampleTests.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8E060D11AFAB5EB00484DEE /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8E060B31AFAB5EB00484DEE /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8E060BA1AFAB5EB00484DEE; - remoteInfo = XCFrameworkExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E8AD59E81AFAB62100E79784 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - CF5971C328117BCE00094EA3 /* RealmSwift.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = RealmSwift.xcframework; path = "../../../xcframework-evolution/RealmSwift.xcframework"; sourceTree = ""; }; - CF5971C428117BCE00094EA3 /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = "../../../xcframework-evolution/Realm.xcframework"; sourceTree = ""; }; - E8E060BB1AFAB5EB00484DEE /* XCFrameworkExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = XCFrameworkExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8E060BF1AFAB5EB00484DEE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8E060C01AFAB5EB00484DEE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - E8E060C21AFAB5EB00484DEE /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - E8E060C51AFAB5EB00484DEE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E8E060C71AFAB5EB00484DEE /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E8E060CA1AFAB5EB00484DEE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - E8E060D01AFAB5EB00484DEE /* XCFrameworkExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = XCFrameworkExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E8E060D51AFAB5EB00484DEE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8E060D61AFAB5EB00484DEE /* XCFrameworkExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = XCFrameworkExampleTests.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8E060B81AFAB5EB00484DEE /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - CF5971C528117BCE00094EA3 /* RealmSwift.xcframework in Frameworks */, - CF5971C628117BCE00094EA3 /* Realm.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8E060CD1AFAB5EB00484DEE /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - E8E060B21AFAB5EB00484DEE = { - isa = PBXGroup; - children = ( - CF5971C428117BCE00094EA3 /* Realm.xcframework */, - CF5971C328117BCE00094EA3 /* RealmSwift.xcframework */, - E8E060BC1AFAB5EB00484DEE /* Products */, - E8E060BD1AFAB5EB00484DEE /* XCFrameworkExample */, - E8E060D31AFAB5EB00484DEE /* XCFrameworkExampleTests */, - ); - sourceTree = ""; - }; - E8E060BC1AFAB5EB00484DEE /* Products */ = { - isa = PBXGroup; - children = ( - E8E060BB1AFAB5EB00484DEE /* XCFrameworkExample.app */, - E8E060D01AFAB5EB00484DEE /* XCFrameworkExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E8E060BD1AFAB5EB00484DEE /* XCFrameworkExample */ = { - isa = PBXGroup; - children = ( - E8E060BE1AFAB5EB00484DEE /* Supporting Files */, - E8E060C01AFAB5EB00484DEE /* AppDelegate.swift */, - E8E060C71AFAB5EB00484DEE /* Images.xcassets */, - E8E060C91AFAB5EB00484DEE /* LaunchScreen.xib */, - E8E060C41AFAB5EB00484DEE /* Main.storyboard */, - E8E060C21AFAB5EB00484DEE /* ViewController.swift */, - ); - path = XCFrameworkExample; - sourceTree = ""; - }; - E8E060BE1AFAB5EB00484DEE /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8E060BF1AFAB5EB00484DEE /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E8E060D31AFAB5EB00484DEE /* XCFrameworkExampleTests */ = { - isa = PBXGroup; - children = ( - E8E060D41AFAB5EB00484DEE /* Supporting Files */, - E8E060D61AFAB5EB00484DEE /* XCFrameworkExampleTests.swift */, - ); - path = XCFrameworkExampleTests; - sourceTree = ""; - }; - E8E060D41AFAB5EB00484DEE /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8E060D51AFAB5EB00484DEE /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8E060BA1AFAB5EB00484DEE /* XCFrameworkExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8E060DA1AFAB5EB00484DEE /* Build configuration list for PBXNativeTarget "XCFrameworkExample" */; - buildPhases = ( - E8E060B71AFAB5EB00484DEE /* Sources */, - E8E060B81AFAB5EB00484DEE /* Frameworks */, - E8E060B91AFAB5EB00484DEE /* Resources */, - E8AD59E81AFAB62100E79784 /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = XCFrameworkExample; - productName = XCFrameworkExample; - productReference = E8E060BB1AFAB5EB00484DEE /* XCFrameworkExample.app */; - productType = "com.apple.product-type.application"; - }; - E8E060CF1AFAB5EB00484DEE /* XCFrameworkExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8E060DD1AFAB5EB00484DEE /* Build configuration list for PBXNativeTarget "XCFrameworkExampleTests" */; - buildPhases = ( - E8E060CC1AFAB5EB00484DEE /* Sources */, - E8E060CD1AFAB5EB00484DEE /* Frameworks */, - E8E060CE1AFAB5EB00484DEE /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E8E060D21AFAB5EB00484DEE /* PBXTargetDependency */, - ); - name = XCFrameworkExampleTests; - productName = XCFrameworkExampleTests; - productReference = E8E060D01AFAB5EB00484DEE /* XCFrameworkExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8E060B31AFAB5EB00484DEE /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0710; - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8E060BA1AFAB5EB00484DEE = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 1020; - }; - E8E060CF1AFAB5EB00484DEE = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 1020; - TestTargetID = E8E060BA1AFAB5EB00484DEE; - }; - }; - }; - buildConfigurationList = E8E060B61AFAB5EB00484DEE /* Build configuration list for PBXProject "XCFrameworkExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E8E060B21AFAB5EB00484DEE; - productRefGroup = E8E060BC1AFAB5EB00484DEE /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8E060BA1AFAB5EB00484DEE /* XCFrameworkExample */, - E8E060CF1AFAB5EB00484DEE /* XCFrameworkExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8E060B91AFAB5EB00484DEE /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8E060C81AFAB5EB00484DEE /* Images.xcassets in Resources */, - E8E060CB1AFAB5EB00484DEE /* LaunchScreen.xib in Resources */, - E8E060C61AFAB5EB00484DEE /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8E060CE1AFAB5EB00484DEE /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8E060B71AFAB5EB00484DEE /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8E060C11AFAB5EB00484DEE /* AppDelegate.swift in Sources */, - E8E060C31AFAB5EB00484DEE /* ViewController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8E060CC1AFAB5EB00484DEE /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8E060D71AFAB5EB00484DEE /* XCFrameworkExampleTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8E060D21AFAB5EB00484DEE /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8E060BA1AFAB5EB00484DEE /* XCFrameworkExample */; - targetProxy = E8E060D11AFAB5EB00484DEE /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8E060C41AFAB5EB00484DEE /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8E060C51AFAB5EB00484DEE /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - E8E060C91AFAB5EB00484DEE /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - E8E060CA1AFAB5EB00484DEE /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8E060D81AFAB5EB00484DEE /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = ""; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - E8E060D91AFAB5EB00484DEE /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = ""; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E8E060DB1AFAB5EB00484DEE /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = ""; - INFOPLIST_FILE = XCFrameworkExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - E8E060DC1AFAB5EB00484DEE /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = ""; - INFOPLIST_FILE = XCFrameworkExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - E8E060DE1AFAB5EB00484DEE /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = XCFrameworkExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/XCFrameworkExample.app/XCFrameworkExample"; - }; - name = Debug; - }; - E8E060DF1AFAB5EB00484DEE /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = XCFrameworkExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/XCFrameworkExample.app/XCFrameworkExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8E060B61AFAB5EB00484DEE /* Build configuration list for PBXProject "XCFrameworkExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8E060D81AFAB5EB00484DEE /* Debug */, - E8E060D91AFAB5EB00484DEE /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8E060DA1AFAB5EB00484DEE /* Build configuration list for PBXNativeTarget "XCFrameworkExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8E060DB1AFAB5EB00484DEE /* Debug */, - E8E060DC1AFAB5EB00484DEE /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8E060DD1AFAB5EB00484DEE /* Build configuration list for PBXNativeTarget "XCFrameworkExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8E060DE1AFAB5EB00484DEE /* Debug */, - E8E060DF1AFAB5EB00484DEE /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8E060B31AFAB5EB00484DEE /* Project object */; -} diff --git a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme b/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme deleted file mode 100644 index b5ebe5f0b4..0000000000 --- a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/AppDelegate.swift b/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/AppDelegate.swift deleted file mode 100644 index 0c49b98a7a..0000000000 --- a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/AppDelegate.swift +++ /dev/null @@ -1,33 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit -import RealmSwift - -public class MyModel: RealmSwift.Object { - @Persisted var name: String -} - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - var window: UIWindow? - - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool { - return true - } -} diff --git a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Base.lproj/LaunchScreen.xib b/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Base.lproj/LaunchScreen.xib deleted file mode 100644 index e8d47a0a8a..0000000000 --- a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard b/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard deleted file mode 100644 index 52ea29ebae..0000000000 --- a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d3942e941a..0000000000 --- a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Info.plist b/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Info.plist deleted file mode 100644 index 6905cc67bb..0000000000 --- a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/ViewController.swift b/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/ViewController.swift deleted file mode 100644 index d9c11aa52a..0000000000 --- a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExample/ViewController.swift +++ /dev/null @@ -1,22 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit - -class ViewController: UIViewController { -} diff --git a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExampleTests/Info.plist b/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.swift b/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.swift deleted file mode 100644 index d44b0ea764..0000000000 --- a/examples/installation/ios/swift/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.swift +++ /dev/null @@ -1,31 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import UIKit -import XCTest -import XCFrameworkExample -import Realm -import RealmSwift - -class XCFrameworkExampleTests: XCTestCase { - func testExample() { - // This is an example of a functional test case. - XCTAssertNotNil(MyModel() as AnyObject is Object) - _ = try! Realm() - } -} diff --git a/examples/installation/osx/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj b/examples/installation/osx/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj deleted file mode 100644 index 13ddebef65..0000000000 --- a/examples/installation/osx/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,498 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 3F4520552914CEB4008F07AD /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F4520542914CEB4008F07AD /* Realm.xcframework */; }; - 3F4520562914CEB4008F07AD /* Realm.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3F4520542914CEB4008F07AD /* Realm.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - E81D29431B015EFF009EDD76 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E81D29421B015EFF009EDD76 /* AppDelegate.m */; }; - E81D29451B015EFF009EDD76 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E81D29441B015EFF009EDD76 /* main.m */; }; - E81D29481B015EFF009EDD76 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E81D29471B015EFF009EDD76 /* ViewController.m */; }; - E81D294A1B015EFF009EDD76 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E81D29491B015EFF009EDD76 /* Images.xcassets */; }; - E81D294D1B015EFF009EDD76 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E81D294B1B015EFF009EDD76 /* Main.storyboard */; }; - E81D29591B015EFF009EDD76 /* CarthageExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E81D29581B015EFF009EDD76 /* CarthageExampleTests.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E81D29531B015EFF009EDD76 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E81D29341B015EFE009EDD76 /* Project object */; - proxyType = 1; - remoteGlobalIDString = E81D293B1B015EFE009EDD76; - remoteInfo = CarthageExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E887530E1B01605F00DD2234 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 3F4520562914CEB4008F07AD /* Realm.xcframework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 3F4520542914CEB4008F07AD /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = Carthage/Build/Realm.xcframework; sourceTree = ""; }; - E81D293C1B015EFE009EDD76 /* CarthageExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CarthageExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E81D29401B015EFF009EDD76 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E81D29411B015EFF009EDD76 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - E81D29421B015EFF009EDD76 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - E81D29441B015EFF009EDD76 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E81D29461B015EFF009EDD76 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - E81D29471B015EFF009EDD76 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - E81D29491B015EFF009EDD76 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E81D294C1B015EFF009EDD76 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E81D29521B015EFF009EDD76 /* CarthageExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CarthageExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E81D29571B015EFF009EDD76 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E81D29581B015EFF009EDD76 /* CarthageExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CarthageExampleTests.m; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E81D29391B015EFE009EDD76 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3F4520552914CEB4008F07AD /* Realm.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E81D294F1B015EFF009EDD76 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 3F4520532914CEB4008F07AD /* Frameworks */ = { - isa = PBXGroup; - children = ( - 3F4520542914CEB4008F07AD /* Realm.xcframework */, - ); - name = Frameworks; - sourceTree = ""; - }; - E81D29331B015EFE009EDD76 = { - isa = PBXGroup; - children = ( - E81D293E1B015EFE009EDD76 /* CarthageExample */, - E81D29551B015EFF009EDD76 /* CarthageExampleTests */, - E81D293D1B015EFE009EDD76 /* Products */, - 3F4520532914CEB4008F07AD /* Frameworks */, - ); - sourceTree = ""; - }; - E81D293D1B015EFE009EDD76 /* Products */ = { - isa = PBXGroup; - children = ( - E81D293C1B015EFE009EDD76 /* CarthageExample.app */, - E81D29521B015EFF009EDD76 /* CarthageExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E81D293E1B015EFE009EDD76 /* CarthageExample */ = { - isa = PBXGroup; - children = ( - E81D293F1B015EFE009EDD76 /* Supporting Files */, - E81D29411B015EFF009EDD76 /* AppDelegate.h */, - E81D29421B015EFF009EDD76 /* AppDelegate.m */, - E81D29491B015EFF009EDD76 /* Images.xcassets */, - E81D294B1B015EFF009EDD76 /* Main.storyboard */, - E81D29461B015EFF009EDD76 /* ViewController.h */, - E81D29471B015EFF009EDD76 /* ViewController.m */, - ); - path = CarthageExample; - sourceTree = ""; - }; - E81D293F1B015EFE009EDD76 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E81D29401B015EFF009EDD76 /* Info.plist */, - E81D29441B015EFF009EDD76 /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E81D29551B015EFF009EDD76 /* CarthageExampleTests */ = { - isa = PBXGroup; - children = ( - E81D29561B015EFF009EDD76 /* Supporting Files */, - E81D29581B015EFF009EDD76 /* CarthageExampleTests.m */, - ); - path = CarthageExampleTests; - sourceTree = ""; - }; - E81D29561B015EFF009EDD76 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E81D29571B015EFF009EDD76 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E81D293B1B015EFE009EDD76 /* CarthageExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E81D295C1B015EFF009EDD76 /* Build configuration list for PBXNativeTarget "CarthageExample" */; - buildPhases = ( - E81D29381B015EFE009EDD76 /* Sources */, - E81D29391B015EFE009EDD76 /* Frameworks */, - E81D293A1B015EFE009EDD76 /* Resources */, - E887530E1B01605F00DD2234 /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = CarthageExample; - productName = CarthageExample; - productReference = E81D293C1B015EFE009EDD76 /* CarthageExample.app */; - productType = "com.apple.product-type.application"; - }; - E81D29511B015EFF009EDD76 /* CarthageExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E81D295F1B015EFF009EDD76 /* Build configuration list for PBXNativeTarget "CarthageExampleTests" */; - buildPhases = ( - E81D294E1B015EFF009EDD76 /* Sources */, - E81D294F1B015EFF009EDD76 /* Frameworks */, - E81D29501B015EFF009EDD76 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E81D29541B015EFF009EDD76 /* PBXTargetDependency */, - ); - name = CarthageExampleTests; - productName = CarthageExampleTests; - productReference = E81D29521B015EFF009EDD76 /* CarthageExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E81D29341B015EFE009EDD76 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E81D293B1B015EFE009EDD76 = { - CreatedOnToolsVersion = 6.3.1; - }; - E81D29511B015EFF009EDD76 = { - CreatedOnToolsVersion = 6.3.1; - TestTargetID = E81D293B1B015EFE009EDD76; - }; - }; - }; - buildConfigurationList = E81D29371B015EFE009EDD76 /* Build configuration list for PBXProject "CarthageExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - English, - en, - Base, - ); - mainGroup = E81D29331B015EFE009EDD76; - productRefGroup = E81D293D1B015EFE009EDD76 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E81D293B1B015EFE009EDD76 /* CarthageExample */, - E81D29511B015EFF009EDD76 /* CarthageExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E81D293A1B015EFE009EDD76 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E81D294A1B015EFF009EDD76 /* Images.xcassets in Resources */, - E81D294D1B015EFF009EDD76 /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E81D29501B015EFF009EDD76 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E81D29381B015EFE009EDD76 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E81D29431B015EFF009EDD76 /* AppDelegate.m in Sources */, - E81D29451B015EFF009EDD76 /* main.m in Sources */, - E81D29481B015EFF009EDD76 /* ViewController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E81D294E1B015EFF009EDD76 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E81D29591B015EFF009EDD76 /* CarthageExampleTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E81D29541B015EFF009EDD76 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E81D293B1B015EFE009EDD76 /* CarthageExample */; - targetProxy = E81D29531B015EFF009EDD76 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E81D294B1B015EFF009EDD76 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E81D294C1B015EFF009EDD76 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E81D295A1B015EFF009EDD76 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Carthage/Build/Mac"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - }; - name = Debug; - }; - E81D295B1B015EFF009EDD76 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Carthage/Build/Mac"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - }; - name = Release; - }; - E81D295D1B015EFF009EDD76 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = CarthageExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - E81D295E1B015EFF009EDD76 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = CarthageExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; - E81D29601B015EFF009EDD76 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = CarthageExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CarthageExample.app/Contents/MacOS/CarthageExample"; - }; - name = Debug; - }; - E81D29611B015EFF009EDD76 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - INFOPLIST_FILE = CarthageExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CarthageExample.app/Contents/MacOS/CarthageExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E81D29371B015EFE009EDD76 /* Build configuration list for PBXProject "CarthageExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E81D295A1B015EFF009EDD76 /* Debug */, - E81D295B1B015EFF009EDD76 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E81D295C1B015EFF009EDD76 /* Build configuration list for PBXNativeTarget "CarthageExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E81D295D1B015EFF009EDD76 /* Debug */, - E81D295E1B015EFF009EDD76 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E81D295F1B015EFF009EDD76 /* Build configuration list for PBXNativeTarget "CarthageExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E81D29601B015EFF009EDD76 /* Debug */, - E81D29611B015EFF009EDD76 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E81D29341B015EFE009EDD76 /* Project object */; -} diff --git a/examples/installation/osx/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme b/examples/installation/osx/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme deleted file mode 100644 index e6a60ed623..0000000000 --- a/examples/installation/osx/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/objc/CarthageExample/CarthageExample/AppDelegate.h b/examples/installation/osx/objc/CarthageExample/CarthageExample/AppDelegate.h deleted file mode 100644 index 8029c9d392..0000000000 --- a/examples/installation/osx/objc/CarthageExample/CarthageExample/AppDelegate.h +++ /dev/null @@ -1,27 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import - -@interface MyModel : RLMObject -@end - -@interface AppDelegate : NSObject - -@end diff --git a/examples/installation/osx/objc/CarthageExample/CarthageExample/AppDelegate.m b/examples/installation/osx/objc/CarthageExample/CarthageExample/AppDelegate.m deleted file mode 100644 index a11a5cfc53..0000000000 --- a/examples/installation/osx/objc/CarthageExample/CarthageExample/AppDelegate.m +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "AppDelegate.h" - -@implementation MyModel -@end - -@implementation AppDelegate -@end diff --git a/examples/installation/osx/objc/CarthageExample/CarthageExample/Base.lproj/Main.storyboard b/examples/installation/osx/objc/CarthageExample/CarthageExample/Base.lproj/Main.storyboard deleted file mode 100644 index be9a05ffd5..0000000000 --- a/examples/installation/osx/objc/CarthageExample/CarthageExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,681 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/objc/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/osx/objc/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 2db2b1c7c6..0000000000 --- a/examples/installation/osx/objc/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "images" : [ - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/osx/objc/CarthageExample/CarthageExample/Info.plist b/examples/installation/osx/objc/CarthageExample/CarthageExample/Info.plist deleted file mode 100644 index 34ad20fe28..0000000000 --- a/examples/installation/osx/objc/CarthageExample/CarthageExample/Info.plist +++ /dev/null @@ -1,34 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - Copyright © 2015 Realm. All rights reserved. - NSMainStoryboardFile - Main - NSPrincipalClass - NSApplication - - diff --git a/examples/installation/osx/objc/CarthageExample/CarthageExample/ViewController.h b/examples/installation/osx/objc/CarthageExample/CarthageExample/ViewController.h deleted file mode 100644 index 33b492d49d..0000000000 --- a/examples/installation/osx/objc/CarthageExample/CarthageExample/ViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -@interface ViewController : NSViewController - - -@end - diff --git a/examples/installation/osx/objc/CarthageExample/CarthageExample/ViewController.m b/examples/installation/osx/objc/CarthageExample/CarthageExample/ViewController.m deleted file mode 100644 index 2061f5efb8..0000000000 --- a/examples/installation/osx/objc/CarthageExample/CarthageExample/ViewController.m +++ /dev/null @@ -1,35 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "ViewController.h" - -@implementation ViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - - // Do any additional setup after loading the view. -} - -- (void)setRepresentedObject:(id)representedObject { - [super setRepresentedObject:representedObject]; - - // Update the view, if already loaded. -} - -@end diff --git a/examples/installation/osx/objc/CarthageExample/CarthageExample/main.m b/examples/installation/osx/objc/CarthageExample/CarthageExample/main.m deleted file mode 100644 index 2201eb2a09..0000000000 --- a/examples/installation/osx/objc/CarthageExample/CarthageExample/main.m +++ /dev/null @@ -1,23 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -int main(int argc, const char * argv[]) { - return NSApplicationMain(argc, argv); -} diff --git a/examples/installation/osx/objc/CarthageExample/CarthageExampleTests/CarthageExampleTests.m b/examples/installation/osx/objc/CarthageExample/CarthageExampleTests/CarthageExampleTests.m deleted file mode 100644 index 2a6fd659d2..0000000000 --- a/examples/installation/osx/objc/CarthageExample/CarthageExampleTests/CarthageExampleTests.m +++ /dev/null @@ -1,32 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -#import "AppDelegate.h" - -@interface CarthageExampleTests : XCTestCase -@end - -@implementation CarthageExampleTests - -- (void)testExample { - XCTAssertTrue([MyModel isSubclassOfClass:[RLMObject class]]); -} - -@end diff --git a/examples/installation/osx/objc/CarthageExample/CarthageExampleTests/Info.plist b/examples/installation/osx/objc/CarthageExample/CarthageExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/osx/objc/CarthageExample/CarthageExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj b/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj deleted file mode 100644 index 06d37c06fc..0000000000 --- a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,528 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 02960FBC4AF97366661A19A8 /* libPods-CocoaPodsExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B3ED6731EAB50BC64F76A13D /* libPods-CocoaPodsExampleTests.a */; }; - B9515DCABE91354D4EAFD201 /* libPods-CocoaPodsExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7CD530EA438FDE7ECF71B54B /* libPods-CocoaPodsExample.a */; }; - E8AA50FF1B015B2B00C6A3F9 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E8AA50FE1B015B2B00C6A3F9 /* AppDelegate.m */; }; - E8AA51011B015B2B00C6A3F9 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E8AA51001B015B2B00C6A3F9 /* main.m */; }; - E8AA51041B015B2B00C6A3F9 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8AA51031B015B2B00C6A3F9 /* ViewController.m */; }; - E8AA51061B015B2B00C6A3F9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E8AA51051B015B2B00C6A3F9 /* Images.xcassets */; }; - E8AA51091B015B2B00C6A3F9 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8AA51071B015B2B00C6A3F9 /* Main.storyboard */; }; - E8AA51151B015B2B00C6A3F9 /* CocoaPodsExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E8AA51141B015B2B00C6A3F9 /* CocoaPodsExampleTests.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8AA510F1B015B2B00C6A3F9 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8AA50F01B015B2B00C6A3F9 /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8AA50F71B015B2B00C6A3F9; - remoteInfo = CocoaPodsExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 630D22E631FB3B96788BF42C /* Pods-CocoaPodsExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample.debug.xcconfig"; sourceTree = ""; }; - 7CD530EA438FDE7ECF71B54B /* libPods-CocoaPodsExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-CocoaPodsExample.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 97A3D72B6D1A3D3C95BB8C03 /* Pods-CocoaPodsExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests.debug.xcconfig"; sourceTree = ""; }; - B3ED6731EAB50BC64F76A13D /* libPods-CocoaPodsExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-CocoaPodsExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - B6A70CF642DC26AE5AD79FDD /* Pods-CocoaPodsExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample.release.xcconfig"; sourceTree = ""; }; - E8AA50F81B015B2B00C6A3F9 /* CocoaPodsExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CocoaPodsExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8AA50FC1B015B2B00C6A3F9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8AA50FD1B015B2B00C6A3F9 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - E8AA50FE1B015B2B00C6A3F9 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - E8AA51001B015B2B00C6A3F9 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E8AA51021B015B2B00C6A3F9 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - E8AA51031B015B2B00C6A3F9 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - E8AA51051B015B2B00C6A3F9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E8AA51081B015B2B00C6A3F9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E8AA510E1B015B2B00C6A3F9 /* CocoaPodsExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CocoaPodsExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E8AA51131B015B2B00C6A3F9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8AA51141B015B2B00C6A3F9 /* CocoaPodsExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CocoaPodsExampleTests.m; sourceTree = ""; }; - FADF7DC3FB708DD60AC60E7B /* Pods-CocoaPodsExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests.release.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8AA50F51B015B2B00C6A3F9 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B9515DCABE91354D4EAFD201 /* libPods-CocoaPodsExample.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8AA510B1B015B2B00C6A3F9 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 02960FBC4AF97366661A19A8 /* libPods-CocoaPodsExampleTests.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 4BE6B3BAD4790C0E6B17EFAA /* Pods */ = { - isa = PBXGroup; - children = ( - 630D22E631FB3B96788BF42C /* Pods-CocoaPodsExample.debug.xcconfig */, - B6A70CF642DC26AE5AD79FDD /* Pods-CocoaPodsExample.release.xcconfig */, - 97A3D72B6D1A3D3C95BB8C03 /* Pods-CocoaPodsExampleTests.debug.xcconfig */, - FADF7DC3FB708DD60AC60E7B /* Pods-CocoaPodsExampleTests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; - BDEF7ACC398E86B23E1E3E0E /* Frameworks */ = { - isa = PBXGroup; - children = ( - 7CD530EA438FDE7ECF71B54B /* libPods-CocoaPodsExample.a */, - B3ED6731EAB50BC64F76A13D /* libPods-CocoaPodsExampleTests.a */, - ); - name = Frameworks; - sourceTree = ""; - }; - E8AA50EF1B015B2B00C6A3F9 = { - isa = PBXGroup; - children = ( - E8AA50FA1B015B2B00C6A3F9 /* CocoaPodsExample */, - E8AA51111B015B2B00C6A3F9 /* CocoaPodsExampleTests */, - BDEF7ACC398E86B23E1E3E0E /* Frameworks */, - 4BE6B3BAD4790C0E6B17EFAA /* Pods */, - E8AA50F91B015B2B00C6A3F9 /* Products */, - ); - sourceTree = ""; - }; - E8AA50F91B015B2B00C6A3F9 /* Products */ = { - isa = PBXGroup; - children = ( - E8AA50F81B015B2B00C6A3F9 /* CocoaPodsExample.app */, - E8AA510E1B015B2B00C6A3F9 /* CocoaPodsExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E8AA50FA1B015B2B00C6A3F9 /* CocoaPodsExample */ = { - isa = PBXGroup; - children = ( - E8AA50FB1B015B2B00C6A3F9 /* Supporting Files */, - E8AA50FD1B015B2B00C6A3F9 /* AppDelegate.h */, - E8AA50FE1B015B2B00C6A3F9 /* AppDelegate.m */, - E8AA51051B015B2B00C6A3F9 /* Images.xcassets */, - E8AA51071B015B2B00C6A3F9 /* Main.storyboard */, - E8AA51021B015B2B00C6A3F9 /* ViewController.h */, - E8AA51031B015B2B00C6A3F9 /* ViewController.m */, - ); - path = CocoaPodsExample; - sourceTree = ""; - }; - E8AA50FB1B015B2B00C6A3F9 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8AA50FC1B015B2B00C6A3F9 /* Info.plist */, - E8AA51001B015B2B00C6A3F9 /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E8AA51111B015B2B00C6A3F9 /* CocoaPodsExampleTests */ = { - isa = PBXGroup; - children = ( - E8AA51121B015B2B00C6A3F9 /* Supporting Files */, - E8AA51141B015B2B00C6A3F9 /* CocoaPodsExampleTests.m */, - ); - path = CocoaPodsExampleTests; - sourceTree = ""; - }; - E8AA51121B015B2B00C6A3F9 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8AA51131B015B2B00C6A3F9 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8AA50F71B015B2B00C6A3F9 /* CocoaPodsExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8AA51181B015B2B00C6A3F9 /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */; - buildPhases = ( - 62CCF5182C56F631CFD27633 /* [CP] Check Pods Manifest.lock */, - E8AA50F41B015B2B00C6A3F9 /* Sources */, - E8AA50F51B015B2B00C6A3F9 /* Frameworks */, - E8AA50F61B015B2B00C6A3F9 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = CocoaPodsExample; - productName = CocoaPodsExample; - productReference = E8AA50F81B015B2B00C6A3F9 /* CocoaPodsExample.app */; - productType = "com.apple.product-type.application"; - }; - E8AA510D1B015B2B00C6A3F9 /* CocoaPodsExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8AA511B1B015B2B00C6A3F9 /* Build configuration list for PBXNativeTarget "CocoaPodsExampleTests" */; - buildPhases = ( - D87C75603586D5423A18DF26 /* [CP] Check Pods Manifest.lock */, - E8AA510A1B015B2B00C6A3F9 /* Sources */, - E8AA510B1B015B2B00C6A3F9 /* Frameworks */, - E8AA510C1B015B2B00C6A3F9 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E8AA51101B015B2B00C6A3F9 /* PBXTargetDependency */, - ); - name = CocoaPodsExampleTests; - productName = CocoaPodsExampleTests; - productReference = E8AA510E1B015B2B00C6A3F9 /* CocoaPodsExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8AA50F01B015B2B00C6A3F9 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8AA50F71B015B2B00C6A3F9 = { - CreatedOnToolsVersion = 6.3.1; - }; - E8AA510D1B015B2B00C6A3F9 = { - CreatedOnToolsVersion = 6.3.1; - TestTargetID = E8AA50F71B015B2B00C6A3F9; - }; - }; - }; - buildConfigurationList = E8AA50F31B015B2B00C6A3F9 /* Build configuration list for PBXProject "CocoaPodsExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E8AA50EF1B015B2B00C6A3F9; - productRefGroup = E8AA50F91B015B2B00C6A3F9 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8AA50F71B015B2B00C6A3F9 /* CocoaPodsExample */, - E8AA510D1B015B2B00C6A3F9 /* CocoaPodsExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8AA50F61B015B2B00C6A3F9 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8AA51061B015B2B00C6A3F9 /* Images.xcassets in Resources */, - E8AA51091B015B2B00C6A3F9 /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8AA510C1B015B2B00C6A3F9 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 62CCF5182C56F631CFD27633 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsExample-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - D87C75603586D5423A18DF26 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsExampleTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8AA50F41B015B2B00C6A3F9 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8AA50FF1B015B2B00C6A3F9 /* AppDelegate.m in Sources */, - E8AA51011B015B2B00C6A3F9 /* main.m in Sources */, - E8AA51041B015B2B00C6A3F9 /* ViewController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8AA510A1B015B2B00C6A3F9 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8AA51151B015B2B00C6A3F9 /* CocoaPodsExampleTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8AA51101B015B2B00C6A3F9 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8AA50F71B015B2B00C6A3F9 /* CocoaPodsExample */; - targetProxy = E8AA510F1B015B2B00C6A3F9 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8AA51071B015B2B00C6A3F9 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8AA51081B015B2B00C6A3F9 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8AA51161B015B2B00C6A3F9 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - }; - name = Debug; - }; - E8AA51171B015B2B00C6A3F9 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - }; - name = Release; - }; - E8AA51191B015B2B00C6A3F9 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 630D22E631FB3B96788BF42C /* Pods-CocoaPodsExample.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - E8AA511A1B015B2B00C6A3F9 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B6A70CF642DC26AE5AD79FDD /* Pods-CocoaPodsExample.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; - E8AA511C1B015B2B00C6A3F9 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 97A3D72B6D1A3D3C95BB8C03 /* Pods-CocoaPodsExampleTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = CocoaPodsExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsExample.app/Contents/MacOS/CocoaPodsExample"; - }; - name = Debug; - }; - E8AA511D1B015B2B00C6A3F9 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FADF7DC3FB708DD60AC60E7B /* Pods-CocoaPodsExampleTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - INFOPLIST_FILE = CocoaPodsExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsExample.app/Contents/MacOS/CocoaPodsExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8AA50F31B015B2B00C6A3F9 /* Build configuration list for PBXProject "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8AA51161B015B2B00C6A3F9 /* Debug */, - E8AA51171B015B2B00C6A3F9 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8AA51181B015B2B00C6A3F9 /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8AA51191B015B2B00C6A3F9 /* Debug */, - E8AA511A1B015B2B00C6A3F9 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8AA511B1B015B2B00C6A3F9 /* Build configuration list for PBXNativeTarget "CocoaPodsExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8AA511C1B015B2B00C6A3F9 /* Debug */, - E8AA511D1B015B2B00C6A3F9 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8AA50F01B015B2B00C6A3F9 /* Project object */; -} diff --git a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme b/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme deleted file mode 100644 index 86badc2af4..0000000000 --- a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.h b/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.h deleted file mode 100644 index 8029c9d392..0000000000 --- a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.h +++ /dev/null @@ -1,27 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import - -@interface MyModel : RLMObject -@end - -@interface AppDelegate : NSObject - -@end diff --git a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.m b/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.m deleted file mode 100644 index a11a5cfc53..0000000000 --- a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/AppDelegate.m +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "AppDelegate.h" - -@implementation MyModel -@end - -@implementation AppDelegate -@end diff --git a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard b/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard deleted file mode 100644 index 269477028e..0000000000 --- a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,681 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 2db2b1c7c6..0000000000 --- a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "images" : [ - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/Info.plist b/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/Info.plist deleted file mode 100644 index 34ad20fe28..0000000000 --- a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/Info.plist +++ /dev/null @@ -1,34 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - Copyright © 2015 Realm. All rights reserved. - NSMainStoryboardFile - Main - NSPrincipalClass - NSApplication - - diff --git a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/ViewController.h b/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/ViewController.h deleted file mode 100644 index 33b492d49d..0000000000 --- a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/ViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -@interface ViewController : NSViewController - - -@end - diff --git a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/ViewController.m b/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/ViewController.m deleted file mode 100644 index 2061f5efb8..0000000000 --- a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/ViewController.m +++ /dev/null @@ -1,35 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "ViewController.h" - -@implementation ViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - - // Do any additional setup after loading the view. -} - -- (void)setRepresentedObject:(id)representedObject { - [super setRepresentedObject:representedObject]; - - // Update the view, if already loaded. -} - -@end diff --git a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/main.m b/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/main.m deleted file mode 100644 index 2201eb2a09..0000000000 --- a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExample/main.m +++ /dev/null @@ -1,23 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -int main(int argc, const char * argv[]) { - return NSApplicationMain(argc, argv); -} diff --git a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.m b/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.m deleted file mode 100644 index 456248c077..0000000000 --- a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.m +++ /dev/null @@ -1,32 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -#import "AppDelegate.h" - -@interface CocoaPodsExampleTests : XCTestCase -@end - -@implementation CocoaPodsExampleTests - -- (void)testExample { - XCTAssertTrue([MyModel isSubclassOfClass:[RLMObject class]]); -} - -@end diff --git a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExampleTests/Info.plist b/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/osx/objc/CocoaPodsExample/CocoaPodsExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/osx/objc/CocoaPodsExample/Podfile b/examples/installation/osx/objc/CocoaPodsExample/Podfile deleted file mode 100644 index 19c46cc217..0000000000 --- a/examples/installation/osx/objc/CocoaPodsExample/Podfile +++ /dev/null @@ -1,20 +0,0 @@ -# Uncomment this line to define a global platform for your project -# platform :ios, '6.0' - -branch = ENV['sha'] - -target 'CocoaPodsExample' do - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch -end - -target 'CocoaPodsExampleTests' do - pod 'Realm/Headers', git: 'https://github.com/realm/realm-swift.git', branch: branch -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - config.build_settings['GCC_GENERATE_DEBUGGING_SYMBOLS'] = 'NO' - end - end -end diff --git a/examples/installation/osx/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj b/examples/installation/osx/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj deleted file mode 100644 index c725480cb1..0000000000 --- a/examples/installation/osx/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,475 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - E8358B641AFB172C00DE7F8C /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E8358B631AFB172C00DE7F8C /* AppDelegate.m */; }; - E8358B661AFB172C00DE7F8C /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E8358B651AFB172C00DE7F8C /* main.m */; }; - E8358B691AFB172C00DE7F8C /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8358B681AFB172C00DE7F8C /* ViewController.m */; }; - E8358B6B1AFB172C00DE7F8C /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E8358B6A1AFB172C00DE7F8C /* Images.xcassets */; }; - E8358B6E1AFB172C00DE7F8C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8358B6C1AFB172C00DE7F8C /* Main.storyboard */; }; - E8358B7A1AFB172C00DE7F8C /* DynamicExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E8358B791AFB172C00DE7F8C /* DynamicExampleTests.m */; }; - E8358B841AFB174600DE7F8C /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = E8358B831AFB174600DE7F8C /* Realm.xcframework */; }; - E8358B851AFB174600DE7F8C /* Realm.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E8358B831AFB174600DE7F8C /* Realm.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8358B741AFB172C00DE7F8C /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8358B551AFB172C00DE7F8C /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8358B5C1AFB172C00DE7F8C; - remoteInfo = DynamicExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E8358B861AFB174600DE7F8C /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - E8358B851AFB174600DE7F8C /* Realm.xcframework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - E8358B5D1AFB172C00DE7F8C /* DynamicExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DynamicExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8358B611AFB172C00DE7F8C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8358B621AFB172C00DE7F8C /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - E8358B631AFB172C00DE7F8C /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - E8358B651AFB172C00DE7F8C /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E8358B671AFB172C00DE7F8C /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - E8358B681AFB172C00DE7F8C /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - E8358B6A1AFB172C00DE7F8C /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E8358B6D1AFB172C00DE7F8C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E8358B731AFB172C00DE7F8C /* DynamicExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DynamicExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E8358B781AFB172C00DE7F8C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8358B791AFB172C00DE7F8C /* DynamicExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DynamicExampleTests.m; sourceTree = ""; }; - E8358B831AFB174600DE7F8C /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = "../../../realm-objc-latest/Realm.xcframework"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8358B5A1AFB172C00DE7F8C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - E8358B841AFB174600DE7F8C /* Realm.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8358B701AFB172C00DE7F8C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - E8358B541AFB172C00DE7F8C = { - isa = PBXGroup; - children = ( - E8358B5F1AFB172C00DE7F8C /* DynamicExample */, - E8358B761AFB172C00DE7F8C /* DynamicExampleTests */, - E8358B5E1AFB172C00DE7F8C /* Products */, - E8358B831AFB174600DE7F8C /* Realm.xcframework */, - ); - sourceTree = ""; - }; - E8358B5E1AFB172C00DE7F8C /* Products */ = { - isa = PBXGroup; - children = ( - E8358B5D1AFB172C00DE7F8C /* DynamicExample.app */, - E8358B731AFB172C00DE7F8C /* DynamicExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E8358B5F1AFB172C00DE7F8C /* DynamicExample */ = { - isa = PBXGroup; - children = ( - E8358B601AFB172C00DE7F8C /* Supporting Files */, - E8358B621AFB172C00DE7F8C /* AppDelegate.h */, - E8358B631AFB172C00DE7F8C /* AppDelegate.m */, - E8358B6A1AFB172C00DE7F8C /* Images.xcassets */, - E8358B6C1AFB172C00DE7F8C /* Main.storyboard */, - E8358B671AFB172C00DE7F8C /* ViewController.h */, - E8358B681AFB172C00DE7F8C /* ViewController.m */, - ); - path = DynamicExample; - sourceTree = ""; - }; - E8358B601AFB172C00DE7F8C /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8358B611AFB172C00DE7F8C /* Info.plist */, - E8358B651AFB172C00DE7F8C /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E8358B761AFB172C00DE7F8C /* DynamicExampleTests */ = { - isa = PBXGroup; - children = ( - E8358B771AFB172C00DE7F8C /* Supporting Files */, - E8358B791AFB172C00DE7F8C /* DynamicExampleTests.m */, - ); - path = DynamicExampleTests; - sourceTree = ""; - }; - E8358B771AFB172C00DE7F8C /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8358B781AFB172C00DE7F8C /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8358B5C1AFB172C00DE7F8C /* DynamicExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8358B7D1AFB172C00DE7F8C /* Build configuration list for PBXNativeTarget "DynamicExample" */; - buildPhases = ( - E8358B591AFB172C00DE7F8C /* Sources */, - E8358B5A1AFB172C00DE7F8C /* Frameworks */, - E8358B5B1AFB172C00DE7F8C /* Resources */, - E8358B861AFB174600DE7F8C /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = DynamicExample; - productName = DynamicExample; - productReference = E8358B5D1AFB172C00DE7F8C /* DynamicExample.app */; - productType = "com.apple.product-type.application"; - }; - E8358B721AFB172C00DE7F8C /* DynamicExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8358B801AFB172C00DE7F8C /* Build configuration list for PBXNativeTarget "DynamicExampleTests" */; - buildPhases = ( - E8358B6F1AFB172C00DE7F8C /* Sources */, - E8358B701AFB172C00DE7F8C /* Frameworks */, - E8358B711AFB172C00DE7F8C /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E8358B751AFB172C00DE7F8C /* PBXTargetDependency */, - ); - name = DynamicExampleTests; - productName = DynamicExampleTests; - productReference = E8358B731AFB172C00DE7F8C /* DynamicExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8358B551AFB172C00DE7F8C /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8358B5C1AFB172C00DE7F8C = { - CreatedOnToolsVersion = 6.3.1; - }; - E8358B721AFB172C00DE7F8C = { - CreatedOnToolsVersion = 6.3.1; - TestTargetID = E8358B5C1AFB172C00DE7F8C; - }; - }; - }; - buildConfigurationList = E8358B581AFB172C00DE7F8C /* Build configuration list for PBXProject "DynamicExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E8358B541AFB172C00DE7F8C; - productRefGroup = E8358B5E1AFB172C00DE7F8C /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8358B5C1AFB172C00DE7F8C /* DynamicExample */, - E8358B721AFB172C00DE7F8C /* DynamicExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8358B5B1AFB172C00DE7F8C /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8358B6B1AFB172C00DE7F8C /* Images.xcassets in Resources */, - E8358B6E1AFB172C00DE7F8C /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8358B711AFB172C00DE7F8C /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8358B591AFB172C00DE7F8C /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8358B641AFB172C00DE7F8C /* AppDelegate.m in Sources */, - E8358B661AFB172C00DE7F8C /* main.m in Sources */, - E8358B691AFB172C00DE7F8C /* ViewController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8358B6F1AFB172C00DE7F8C /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8358B7A1AFB172C00DE7F8C /* DynamicExampleTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8358B751AFB172C00DE7F8C /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8358B5C1AFB172C00DE7F8C /* DynamicExample */; - targetProxy = E8358B741AFB172C00DE7F8C /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8358B6C1AFB172C00DE7F8C /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8358B6D1AFB172C00DE7F8C /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8358B7B1AFB172C00DE7F8C /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = "../../..//realm-objc-latest/osx"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - }; - name = Debug; - }; - E8358B7C1AFB172C00DE7F8C /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = "../../..//realm-objc-latest/osx"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - }; - name = Release; - }; - E8358B7E1AFB172C00DE7F8C /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = DynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - E8358B7F1AFB172C00DE7F8C /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = DynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; - E8358B811AFB172C00DE7F8C /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = DynamicExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DynamicExample.app/Contents/MacOS/DynamicExample"; - }; - name = Debug; - }; - E8358B821AFB172C00DE7F8C /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - INFOPLIST_FILE = DynamicExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DynamicExample.app/Contents/MacOS/DynamicExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8358B581AFB172C00DE7F8C /* Build configuration list for PBXProject "DynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8358B7B1AFB172C00DE7F8C /* Debug */, - E8358B7C1AFB172C00DE7F8C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8358B7D1AFB172C00DE7F8C /* Build configuration list for PBXNativeTarget "DynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8358B7E1AFB172C00DE7F8C /* Debug */, - E8358B7F1AFB172C00DE7F8C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8358B801AFB172C00DE7F8C /* Build configuration list for PBXNativeTarget "DynamicExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8358B811AFB172C00DE7F8C /* Debug */, - E8358B821AFB172C00DE7F8C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8358B551AFB172C00DE7F8C /* Project object */; -} diff --git a/examples/installation/osx/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme b/examples/installation/osx/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme deleted file mode 100644 index 7dc6c507f6..0000000000 --- a/examples/installation/osx/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/objc/DynamicExample/DynamicExample/AppDelegate.m b/examples/installation/osx/objc/DynamicExample/DynamicExample/AppDelegate.m deleted file mode 100644 index a11a5cfc53..0000000000 --- a/examples/installation/osx/objc/DynamicExample/DynamicExample/AppDelegate.m +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "AppDelegate.h" - -@implementation MyModel -@end - -@implementation AppDelegate -@end diff --git a/examples/installation/osx/objc/DynamicExample/DynamicExample/Base.lproj/Main.storyboard b/examples/installation/osx/objc/DynamicExample/DynamicExample/Base.lproj/Main.storyboard deleted file mode 100644 index 664f5f72d6..0000000000 --- a/examples/installation/osx/objc/DynamicExample/DynamicExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,681 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/objc/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/osx/objc/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 2db2b1c7c6..0000000000 --- a/examples/installation/osx/objc/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "images" : [ - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/osx/objc/DynamicExample/DynamicExample/Info.plist b/examples/installation/osx/objc/DynamicExample/DynamicExample/Info.plist deleted file mode 100644 index 34ad20fe28..0000000000 --- a/examples/installation/osx/objc/DynamicExample/DynamicExample/Info.plist +++ /dev/null @@ -1,34 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - Copyright © 2015 Realm. All rights reserved. - NSMainStoryboardFile - Main - NSPrincipalClass - NSApplication - - diff --git a/examples/installation/osx/objc/DynamicExample/DynamicExample/ViewController.h b/examples/installation/osx/objc/DynamicExample/DynamicExample/ViewController.h deleted file mode 100644 index 33b492d49d..0000000000 --- a/examples/installation/osx/objc/DynamicExample/DynamicExample/ViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -@interface ViewController : NSViewController - - -@end - diff --git a/examples/installation/osx/objc/DynamicExample/DynamicExample/ViewController.m b/examples/installation/osx/objc/DynamicExample/DynamicExample/ViewController.m deleted file mode 100644 index 2061f5efb8..0000000000 --- a/examples/installation/osx/objc/DynamicExample/DynamicExample/ViewController.m +++ /dev/null @@ -1,35 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "ViewController.h" - -@implementation ViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - - // Do any additional setup after loading the view. -} - -- (void)setRepresentedObject:(id)representedObject { - [super setRepresentedObject:representedObject]; - - // Update the view, if already loaded. -} - -@end diff --git a/examples/installation/osx/objc/DynamicExample/DynamicExample/main.m b/examples/installation/osx/objc/DynamicExample/DynamicExample/main.m deleted file mode 100644 index 2201eb2a09..0000000000 --- a/examples/installation/osx/objc/DynamicExample/DynamicExample/main.m +++ /dev/null @@ -1,23 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -int main(int argc, const char * argv[]) { - return NSApplicationMain(argc, argv); -} diff --git a/examples/installation/osx/objc/DynamicExample/DynamicExampleTests/DynamicExampleTests.m b/examples/installation/osx/objc/DynamicExample/DynamicExampleTests/DynamicExampleTests.m deleted file mode 100644 index 815faf3cf4..0000000000 --- a/examples/installation/osx/objc/DynamicExample/DynamicExampleTests/DynamicExampleTests.m +++ /dev/null @@ -1,32 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -#import "AppDelegate.h" - -@interface DynamicExampleTests : XCTestCase -@end - -@implementation DynamicExampleTests - -- (void)testExample { - XCTAssertTrue([MyModel isSubclassOfClass:[RLMObject class]]); -} - -@end diff --git a/examples/installation/osx/objc/DynamicExample/DynamicExampleTests/Info.plist b/examples/installation/osx/objc/DynamicExample/DynamicExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/osx/objc/DynamicExample/DynamicExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj b/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj deleted file mode 100644 index ef591d16c9..0000000000 --- a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,489 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 3FDA0A2F231997980099B474 /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3FDA0A2E231997980099B474 /* Realm.xcframework */; }; - E8358B641AFB172C00DE7F8C /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E8358B631AFB172C00DE7F8C /* AppDelegate.m */; }; - E8358B661AFB172C00DE7F8C /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E8358B651AFB172C00DE7F8C /* main.m */; }; - E8358B691AFB172C00DE7F8C /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8358B681AFB172C00DE7F8C /* ViewController.m */; }; - E8358B6B1AFB172C00DE7F8C /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E8358B6A1AFB172C00DE7F8C /* Images.xcassets */; }; - E8358B6E1AFB172C00DE7F8C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8358B6C1AFB172C00DE7F8C /* Main.storyboard */; }; - E8358B7A1AFB172C00DE7F8C /* XCFrameworkExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E8358B791AFB172C00DE7F8C /* XCFrameworkExampleTests.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8358B741AFB172C00DE7F8C /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8358B551AFB172C00DE7F8C /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8358B5C1AFB172C00DE7F8C; - remoteInfo = XCFrameworkExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E8358B861AFB174600DE7F8C /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 3FDA0A2E231997980099B474 /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = "../../../realm-objc-latest/Realm.xcframework"; sourceTree = ""; }; - E8358B5D1AFB172C00DE7F8C /* XCFrameworkExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = XCFrameworkExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8358B611AFB172C00DE7F8C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8358B621AFB172C00DE7F8C /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - E8358B631AFB172C00DE7F8C /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - E8358B651AFB172C00DE7F8C /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E8358B671AFB172C00DE7F8C /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - E8358B681AFB172C00DE7F8C /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - E8358B6A1AFB172C00DE7F8C /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E8358B6D1AFB172C00DE7F8C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E8358B731AFB172C00DE7F8C /* XCFrameworkExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = XCFrameworkExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E8358B781AFB172C00DE7F8C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8358B791AFB172C00DE7F8C /* XCFrameworkExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XCFrameworkExampleTests.m; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8358B5A1AFB172C00DE7F8C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3FDA0A2F231997980099B474 /* Realm.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8358B701AFB172C00DE7F8C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - E8358B541AFB172C00DE7F8C = { - isa = PBXGroup; - children = ( - E8358B5E1AFB172C00DE7F8C /* Products */, - E8358B5F1AFB172C00DE7F8C /* XCFrameworkExample */, - E8358B761AFB172C00DE7F8C /* XCFrameworkExampleTests */, - 3FDA0A2E231997980099B474 /* Realm.xcframework */, - ); - sourceTree = ""; - }; - E8358B5E1AFB172C00DE7F8C /* Products */ = { - isa = PBXGroup; - children = ( - E8358B5D1AFB172C00DE7F8C /* XCFrameworkExample.app */, - E8358B731AFB172C00DE7F8C /* XCFrameworkExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E8358B5F1AFB172C00DE7F8C /* XCFrameworkExample */ = { - isa = PBXGroup; - children = ( - E8358B601AFB172C00DE7F8C /* Supporting Files */, - E8358B621AFB172C00DE7F8C /* AppDelegate.h */, - E8358B631AFB172C00DE7F8C /* AppDelegate.m */, - E8358B6A1AFB172C00DE7F8C /* Images.xcassets */, - E8358B6C1AFB172C00DE7F8C /* Main.storyboard */, - E8358B671AFB172C00DE7F8C /* ViewController.h */, - E8358B681AFB172C00DE7F8C /* ViewController.m */, - ); - path = XCFrameworkExample; - sourceTree = ""; - }; - E8358B601AFB172C00DE7F8C /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8358B611AFB172C00DE7F8C /* Info.plist */, - E8358B651AFB172C00DE7F8C /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E8358B761AFB172C00DE7F8C /* XCFrameworkExampleTests */ = { - isa = PBXGroup; - children = ( - E8358B771AFB172C00DE7F8C /* Supporting Files */, - E8358B791AFB172C00DE7F8C /* XCFrameworkExampleTests.m */, - ); - path = XCFrameworkExampleTests; - sourceTree = ""; - }; - E8358B771AFB172C00DE7F8C /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8358B781AFB172C00DE7F8C /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8358B5C1AFB172C00DE7F8C /* XCFrameworkExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8358B7D1AFB172C00DE7F8C /* Build configuration list for PBXNativeTarget "XCFrameworkExample" */; - buildPhases = ( - E8358B591AFB172C00DE7F8C /* Sources */, - E8358B5A1AFB172C00DE7F8C /* Frameworks */, - E8358B5B1AFB172C00DE7F8C /* Resources */, - E8358B861AFB174600DE7F8C /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = XCFrameworkExample; - productName = XCFrameworkExample; - productReference = E8358B5D1AFB172C00DE7F8C /* XCFrameworkExample.app */; - productType = "com.apple.product-type.application"; - }; - E8358B721AFB172C00DE7F8C /* XCFrameworkExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8358B801AFB172C00DE7F8C /* Build configuration list for PBXNativeTarget "XCFrameworkExampleTests" */; - buildPhases = ( - E8358B6F1AFB172C00DE7F8C /* Sources */, - E8358B701AFB172C00DE7F8C /* Frameworks */, - E8358B711AFB172C00DE7F8C /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E8358B751AFB172C00DE7F8C /* PBXTargetDependency */, - ); - name = XCFrameworkExampleTests; - productName = XCFrameworkExampleTests; - productReference = E8358B731AFB172C00DE7F8C /* XCFrameworkExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8358B551AFB172C00DE7F8C /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8358B5C1AFB172C00DE7F8C = { - CreatedOnToolsVersion = 6.3.1; - }; - E8358B721AFB172C00DE7F8C = { - CreatedOnToolsVersion = 6.3.1; - TestTargetID = E8358B5C1AFB172C00DE7F8C; - }; - }; - }; - buildConfigurationList = E8358B581AFB172C00DE7F8C /* Build configuration list for PBXProject "XCFrameworkExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E8358B541AFB172C00DE7F8C; - productRefGroup = E8358B5E1AFB172C00DE7F8C /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8358B5C1AFB172C00DE7F8C /* XCFrameworkExample */, - E8358B721AFB172C00DE7F8C /* XCFrameworkExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8358B5B1AFB172C00DE7F8C /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8358B6B1AFB172C00DE7F8C /* Images.xcassets in Resources */, - E8358B6E1AFB172C00DE7F8C /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8358B711AFB172C00DE7F8C /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8358B591AFB172C00DE7F8C /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8358B641AFB172C00DE7F8C /* AppDelegate.m in Sources */, - E8358B661AFB172C00DE7F8C /* main.m in Sources */, - E8358B691AFB172C00DE7F8C /* ViewController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8358B6F1AFB172C00DE7F8C /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8358B7A1AFB172C00DE7F8C /* XCFrameworkExampleTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8358B751AFB172C00DE7F8C /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8358B5C1AFB172C00DE7F8C /* XCFrameworkExample */; - targetProxy = E8358B741AFB172C00DE7F8C /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8358B6C1AFB172C00DE7F8C /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8358B6D1AFB172C00DE7F8C /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8358B7B1AFB172C00DE7F8C /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = "../../..//realm-objc-latest"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - }; - name = Debug; - }; - E8358B7C1AFB172C00DE7F8C /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = "../../..//realm-objc-latest"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - }; - name = Release; - }; - E8358B7E1AFB172C00DE7F8C /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = XCFrameworkExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - E8358B7F1AFB172C00DE7F8C /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = XCFrameworkExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; - E8358B811AFB172C00DE7F8C /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = XCFrameworkExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/XCFrameworkExample.app/Contents/MacOS/XCFrameworkExample"; - }; - name = Debug; - }; - E8358B821AFB172C00DE7F8C /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - INFOPLIST_FILE = XCFrameworkExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/XCFrameworkExample.app/Contents/MacOS/XCFrameworkExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8358B581AFB172C00DE7F8C /* Build configuration list for PBXProject "XCFrameworkExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8358B7B1AFB172C00DE7F8C /* Debug */, - E8358B7C1AFB172C00DE7F8C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8358B7D1AFB172C00DE7F8C /* Build configuration list for PBXNativeTarget "XCFrameworkExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8358B7E1AFB172C00DE7F8C /* Debug */, - E8358B7F1AFB172C00DE7F8C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8358B801AFB172C00DE7F8C /* Build configuration list for PBXNativeTarget "XCFrameworkExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8358B811AFB172C00DE7F8C /* Debug */, - E8358B821AFB172C00DE7F8C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8358B551AFB172C00DE7F8C /* Project object */; -} diff --git a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme b/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme deleted file mode 100644 index b94f5189b3..0000000000 --- a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.h b/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.h deleted file mode 100644 index f2429e0c1b..0000000000 --- a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.h +++ /dev/null @@ -1,26 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import - -@interface MyModel : RLMObject -@end - -@interface AppDelegate : NSObject -@end diff --git a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.m b/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.m deleted file mode 100644 index a11a5cfc53..0000000000 --- a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/AppDelegate.m +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "AppDelegate.h" - -@implementation MyModel -@end - -@implementation AppDelegate -@end diff --git a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard b/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard deleted file mode 100644 index c7510ba4ce..0000000000 --- a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,681 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 16b39b6da3..0000000000 --- a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "images" : [ - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/Info.plist b/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/Info.plist deleted file mode 100644 index 34ad20fe28..0000000000 --- a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/Info.plist +++ /dev/null @@ -1,34 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - Copyright © 2015 Realm. All rights reserved. - NSMainStoryboardFile - Main - NSPrincipalClass - NSApplication - - diff --git a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/ViewController.h b/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/ViewController.h deleted file mode 100644 index 33b492d49d..0000000000 --- a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/ViewController.h +++ /dev/null @@ -1,25 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -@interface ViewController : NSViewController - - -@end - diff --git a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/ViewController.m b/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/ViewController.m deleted file mode 100644 index 2061f5efb8..0000000000 --- a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/ViewController.m +++ /dev/null @@ -1,35 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import "ViewController.h" - -@implementation ViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - - // Do any additional setup after loading the view. -} - -- (void)setRepresentedObject:(id)representedObject { - [super setRepresentedObject:representedObject]; - - // Update the view, if already loaded. -} - -@end diff --git a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/main.m b/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/main.m deleted file mode 100644 index 2201eb2a09..0000000000 --- a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExample/main.m +++ /dev/null @@ -1,23 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import - -int main(int argc, const char * argv[]) { - return NSApplicationMain(argc, argv); -} diff --git a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExampleTests/Info.plist b/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.m b/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.m deleted file mode 100644 index 0d31f13011..0000000000 --- a/examples/installation/osx/objc/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.m +++ /dev/null @@ -1,32 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -#import "AppDelegate.h" - -@interface XCFrameworkExampleTests : XCTestCase -@end - -@implementation XCFrameworkExampleTests - -- (void)testExample { - XCTAssertTrue([MyModel isSubclassOfClass:[RLMObject class]]); -} - -@end diff --git a/examples/installation/osx/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj b/examples/installation/osx/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj deleted file mode 100644 index 7adc70d203..0000000000 --- a/examples/installation/osx/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,506 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 3F45206629159937008F07AD /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F45206429159936008F07AD /* Realm.xcframework */; }; - 3F45206729159937008F07AD /* Realm.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3F45206429159936008F07AD /* Realm.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 3F45206829159937008F07AD /* RealmSwift.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F45206529159936008F07AD /* RealmSwift.xcframework */; }; - 3F45206929159937008F07AD /* RealmSwift.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3F45206529159936008F07AD /* RealmSwift.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - E8219DD61B3CD4A2006F2638 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8219DD51B3CD4A2006F2638 /* AppDelegate.swift */; }; - E8219DD81B3CD4A2006F2638 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8219DD71B3CD4A2006F2638 /* ViewController.swift */; }; - E8219DDA1B3CD4A2006F2638 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E8219DD91B3CD4A2006F2638 /* Images.xcassets */; }; - E8219DDD1B3CD4A2006F2638 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8219DDB1B3CD4A2006F2638 /* Main.storyboard */; }; - E8219DE91B3CD4A2006F2638 /* CarthageExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8219DE81B3CD4A2006F2638 /* CarthageExampleTests.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8219DE31B3CD4A2006F2638 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8219DC81B3CD4A2006F2638 /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8219DCF1B3CD4A2006F2638; - remoteInfo = CarthageExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E802DBE61B3CD5410047225A /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 3F45206729159937008F07AD /* Realm.xcframework in Embed Frameworks */, - 3F45206929159937008F07AD /* RealmSwift.xcframework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 3F45206429159936008F07AD /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = Carthage/Build/Realm.xcframework; sourceTree = ""; }; - 3F45206529159936008F07AD /* RealmSwift.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = RealmSwift.xcframework; path = Carthage/Build/RealmSwift.xcframework; sourceTree = ""; }; - E8219DD01B3CD4A2006F2638 /* CarthageExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CarthageExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8219DD41B3CD4A2006F2638 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8219DD51B3CD4A2006F2638 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - E8219DD71B3CD4A2006F2638 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - E8219DD91B3CD4A2006F2638 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E8219DDC1B3CD4A2006F2638 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E8219DE21B3CD4A2006F2638 /* CarthageExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CarthageExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E8219DE71B3CD4A2006F2638 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8219DE81B3CD4A2006F2638 /* CarthageExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CarthageExampleTests.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8219DCD1B3CD4A2006F2638 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3F45206629159937008F07AD /* Realm.xcframework in Frameworks */, - 3F45206829159937008F07AD /* RealmSwift.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8219DDF1B3CD4A2006F2638 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 3F45206329159936008F07AD /* Frameworks */ = { - isa = PBXGroup; - children = ( - 3F45206429159936008F07AD /* Realm.xcframework */, - 3F45206529159936008F07AD /* RealmSwift.xcframework */, - ); - name = Frameworks; - sourceTree = ""; - }; - E8219DC71B3CD4A2006F2638 = { - isa = PBXGroup; - children = ( - E8219DD21B3CD4A2006F2638 /* CarthageExample */, - E8219DE51B3CD4A2006F2638 /* CarthageExampleTests */, - E8219DD11B3CD4A2006F2638 /* Products */, - 3F45206329159936008F07AD /* Frameworks */, - ); - sourceTree = ""; - }; - E8219DD11B3CD4A2006F2638 /* Products */ = { - isa = PBXGroup; - children = ( - E8219DD01B3CD4A2006F2638 /* CarthageExample.app */, - E8219DE21B3CD4A2006F2638 /* CarthageExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E8219DD21B3CD4A2006F2638 /* CarthageExample */ = { - isa = PBXGroup; - children = ( - E8219DD31B3CD4A2006F2638 /* Supporting Files */, - E8219DD51B3CD4A2006F2638 /* AppDelegate.swift */, - E8219DD91B3CD4A2006F2638 /* Images.xcassets */, - E8219DDB1B3CD4A2006F2638 /* Main.storyboard */, - E8219DD71B3CD4A2006F2638 /* ViewController.swift */, - ); - path = CarthageExample; - sourceTree = ""; - }; - E8219DD31B3CD4A2006F2638 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8219DD41B3CD4A2006F2638 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E8219DE51B3CD4A2006F2638 /* CarthageExampleTests */ = { - isa = PBXGroup; - children = ( - E8219DE61B3CD4A2006F2638 /* Supporting Files */, - E8219DE81B3CD4A2006F2638 /* CarthageExampleTests.swift */, - ); - path = CarthageExampleTests; - sourceTree = ""; - }; - E8219DE61B3CD4A2006F2638 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8219DE71B3CD4A2006F2638 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8219DCF1B3CD4A2006F2638 /* CarthageExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8219DEC1B3CD4A2006F2638 /* Build configuration list for PBXNativeTarget "CarthageExample" */; - buildPhases = ( - E8219DCC1B3CD4A2006F2638 /* Sources */, - E8219DCD1B3CD4A2006F2638 /* Frameworks */, - E8219DCE1B3CD4A2006F2638 /* Resources */, - E802DBE61B3CD5410047225A /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = CarthageExample; - productName = CarthageExample; - productReference = E8219DD01B3CD4A2006F2638 /* CarthageExample.app */; - productType = "com.apple.product-type.application"; - }; - E8219DE11B3CD4A2006F2638 /* CarthageExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8219DEF1B3CD4A2006F2638 /* Build configuration list for PBXNativeTarget "CarthageExampleTests" */; - buildPhases = ( - E8219DDE1B3CD4A2006F2638 /* Sources */, - E8219DDF1B3CD4A2006F2638 /* Frameworks */, - E8219DE01B3CD4A2006F2638 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E8219DE41B3CD4A2006F2638 /* PBXTargetDependency */, - ); - name = CarthageExampleTests; - productName = CarthageExampleTests; - productReference = E8219DE21B3CD4A2006F2638 /* CarthageExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8219DC81B3CD4A2006F2638 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0710; - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8219DCF1B3CD4A2006F2638 = { - CreatedOnToolsVersion = 6.3.2; - LastSwiftMigration = 1020; - }; - E8219DE11B3CD4A2006F2638 = { - CreatedOnToolsVersion = 6.3.2; - LastSwiftMigration = 1020; - TestTargetID = E8219DCF1B3CD4A2006F2638; - }; - }; - }; - buildConfigurationList = E8219DCB1B3CD4A2006F2638 /* Build configuration list for PBXProject "CarthageExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - English, - en, - Base, - ); - mainGroup = E8219DC71B3CD4A2006F2638; - productRefGroup = E8219DD11B3CD4A2006F2638 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8219DCF1B3CD4A2006F2638 /* CarthageExample */, - E8219DE11B3CD4A2006F2638 /* CarthageExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8219DCE1B3CD4A2006F2638 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8219DDA1B3CD4A2006F2638 /* Images.xcassets in Resources */, - E8219DDD1B3CD4A2006F2638 /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8219DE01B3CD4A2006F2638 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8219DCC1B3CD4A2006F2638 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8219DD61B3CD4A2006F2638 /* AppDelegate.swift in Sources */, - E8219DD81B3CD4A2006F2638 /* ViewController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8219DDE1B3CD4A2006F2638 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8219DE91B3CD4A2006F2638 /* CarthageExampleTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8219DE41B3CD4A2006F2638 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8219DCF1B3CD4A2006F2638 /* CarthageExample */; - targetProxy = E8219DE31B3CD4A2006F2638 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8219DDB1B3CD4A2006F2638 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8219DDC1B3CD4A2006F2638 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8219DEA1B3CD4A2006F2638 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Carthage/Build/Mac"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - E8219DEB1B3CD4A2006F2638 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Carthage/Build/Mac"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - }; - name = Release; - }; - E8219DED1B3CD4A2006F2638 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = CarthageExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - E8219DEE1B3CD4A2006F2638 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = CarthageExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - E8219DF01B3CD4A2006F2638 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = CarthageExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CarthageExample.app/Contents/MacOS/CarthageExample"; - }; - name = Debug; - }; - E8219DF11B3CD4A2006F2638 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - INFOPLIST_FILE = CarthageExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CarthageExample.app/Contents/MacOS/CarthageExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8219DCB1B3CD4A2006F2638 /* Build configuration list for PBXProject "CarthageExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8219DEA1B3CD4A2006F2638 /* Debug */, - E8219DEB1B3CD4A2006F2638 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8219DEC1B3CD4A2006F2638 /* Build configuration list for PBXNativeTarget "CarthageExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8219DED1B3CD4A2006F2638 /* Debug */, - E8219DEE1B3CD4A2006F2638 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8219DEF1B3CD4A2006F2638 /* Build configuration list for PBXNativeTarget "CarthageExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8219DF01B3CD4A2006F2638 /* Debug */, - E8219DF11B3CD4A2006F2638 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8219DC81B3CD4A2006F2638 /* Project object */; -} diff --git a/examples/installation/osx/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme b/examples/installation/osx/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme deleted file mode 100644 index 7d76f43296..0000000000 --- a/examples/installation/osx/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/swift/CarthageExample/CarthageExample/AppDelegate.swift b/examples/installation/osx/swift/CarthageExample/CarthageExample/AppDelegate.swift deleted file mode 100644 index 451b2902f4..0000000000 --- a/examples/installation/osx/swift/CarthageExample/CarthageExample/AppDelegate.swift +++ /dev/null @@ -1,35 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import Cocoa -import RealmSwift - -open class MyModel: Object { - @objc dynamic var requiredProperty: String? -} - -@NSApplicationMain -class AppDelegate: NSObject, NSApplicationDelegate { - func applicationDidFinishLaunching(_ aNotification: Notification) { - // Insert code here to initialize your application - } - - func applicationWillTerminate(_ aNotification: Notification) { - // Insert code here to tear down your application - } -} diff --git a/examples/installation/osx/swift/CarthageExample/CarthageExample/Base.lproj/Main.storyboard b/examples/installation/osx/swift/CarthageExample/CarthageExample/Base.lproj/Main.storyboard deleted file mode 100644 index 965298823f..0000000000 --- a/examples/installation/osx/swift/CarthageExample/CarthageExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,681 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/swift/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/osx/swift/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 2db2b1c7c6..0000000000 --- a/examples/installation/osx/swift/CarthageExample/CarthageExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "images" : [ - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/osx/swift/CarthageExample/CarthageExample/Info.plist b/examples/installation/osx/swift/CarthageExample/CarthageExample/Info.plist deleted file mode 100644 index 34ad20fe28..0000000000 --- a/examples/installation/osx/swift/CarthageExample/CarthageExample/Info.plist +++ /dev/null @@ -1,34 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - Copyright © 2015 Realm. All rights reserved. - NSMainStoryboardFile - Main - NSPrincipalClass - NSApplication - - diff --git a/examples/installation/osx/swift/CarthageExample/CarthageExample/ViewController.swift b/examples/installation/osx/swift/CarthageExample/CarthageExample/ViewController.swift deleted file mode 100644 index a8715f4929..0000000000 --- a/examples/installation/osx/swift/CarthageExample/CarthageExample/ViewController.swift +++ /dev/null @@ -1,36 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import Cocoa - -class ViewController: NSViewController { - - override func viewDidLoad() { - super.viewDidLoad() - - // Do any additional setup after loading the view. - } - - override var representedObject: Any? { - didSet { - // Update the view, if already loaded. - } - } - - -} diff --git a/examples/installation/osx/swift/CarthageExample/CarthageExampleTests/CarthageExampleTests.swift b/examples/installation/osx/swift/CarthageExample/CarthageExampleTests/CarthageExampleTests.swift deleted file mode 100644 index 631e43c806..0000000000 --- a/examples/installation/osx/swift/CarthageExample/CarthageExampleTests/CarthageExampleTests.swift +++ /dev/null @@ -1,29 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import Cocoa -import XCTest -import CarthageExample -import RealmSwift - -class CarthageExampleTests: XCTestCase { - func testExample() { - // This is an example of a functional test case. - XCTAssertNotNil(MyModel() as AnyObject is Object) - } -} diff --git a/examples/installation/osx/swift/CarthageExample/CarthageExampleTests/Info.plist b/examples/installation/osx/swift/CarthageExample/CarthageExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/osx/swift/CarthageExample/CarthageExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj b/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj deleted file mode 100644 index 0bc07dc4d5..0000000000 --- a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,544 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 0FDF80654D67CF8C473D906E /* Pods_CocoaPodsExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2420D828B939B2F5E3DD95B6 /* Pods_CocoaPodsExampleTests.framework */; }; - B99C2C87D907AF951923AB71 /* Pods_CocoaPodsExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3BCB0993F289E206FD682B90 /* Pods_CocoaPodsExample.framework */; }; - E8F1864D1CEEC442008F5767 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8F1864C1CEEC442008F5767 /* AppDelegate.swift */; }; - E8F1864F1CEEC442008F5767 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8F1864E1CEEC442008F5767 /* ViewController.swift */; }; - E8F186511CEEC442008F5767 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E8F186501CEEC442008F5767 /* Assets.xcassets */; }; - E8F186541CEEC442008F5767 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8F186521CEEC442008F5767 /* Main.storyboard */; }; - E8F1865F1CEEC442008F5767 /* CocoaPodsExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8F1865E1CEEC442008F5767 /* CocoaPodsExampleTests.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8F1865B1CEEC442008F5767 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8F186411CEEC441008F5767 /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8F186481CEEC441008F5767; - remoteInfo = CocoaPodsExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 1754274DD85BC94FBE718272 /* Pods-CocoaPodsExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests.debug.xcconfig"; sourceTree = ""; }; - 2420D828B939B2F5E3DD95B6 /* Pods_CocoaPodsExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CocoaPodsExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 3BCB0993F289E206FD682B90 /* Pods_CocoaPodsExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CocoaPodsExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 935AE9102713E46948B28E87 /* Pods-CocoaPodsExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample.debug.xcconfig"; sourceTree = ""; }; - B2F54684A04A7CE473C6A385 /* Pods-CocoaPodsExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample.release.xcconfig"; sourceTree = ""; }; - D1BEEF9604335FBE0C7BAE3E /* Pods-CocoaPodsExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests.release.xcconfig"; sourceTree = ""; }; - E8F186491CEEC441008F5767 /* CocoaPodsExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CocoaPodsExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8F1864C1CEEC442008F5767 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - E8F1864E1CEEC442008F5767 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - E8F186501CEEC442008F5767 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - E8F186531CEEC442008F5767 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E8F186551CEEC442008F5767 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8F1865A1CEEC442008F5767 /* CocoaPodsExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CocoaPodsExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E8F1865E1CEEC442008F5767 /* CocoaPodsExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CocoaPodsExampleTests.swift; sourceTree = ""; }; - E8F186601CEEC442008F5767 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8F186461CEEC441008F5767 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B99C2C87D907AF951923AB71 /* Pods_CocoaPodsExample.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8F186571CEEC442008F5767 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 0FDF80654D67CF8C473D906E /* Pods_CocoaPodsExampleTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 02655C095E5F483C939F0C74 /* Pods */ = { - isa = PBXGroup; - children = ( - 935AE9102713E46948B28E87 /* Pods-CocoaPodsExample.debug.xcconfig */, - B2F54684A04A7CE473C6A385 /* Pods-CocoaPodsExample.release.xcconfig */, - 1754274DD85BC94FBE718272 /* Pods-CocoaPodsExampleTests.debug.xcconfig */, - D1BEEF9604335FBE0C7BAE3E /* Pods-CocoaPodsExampleTests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; - 94C8D94B82E9073B5728D6AF /* Frameworks */ = { - isa = PBXGroup; - children = ( - 3BCB0993F289E206FD682B90 /* Pods_CocoaPodsExample.framework */, - 2420D828B939B2F5E3DD95B6 /* Pods_CocoaPodsExampleTests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - E8F186401CEEC441008F5767 = { - isa = PBXGroup; - children = ( - E8F1864B1CEEC441008F5767 /* CocoaPodsExample */, - E8F1865D1CEEC442008F5767 /* CocoaPodsExampleTests */, - 94C8D94B82E9073B5728D6AF /* Frameworks */, - 02655C095E5F483C939F0C74 /* Pods */, - E8F1864A1CEEC441008F5767 /* Products */, - ); - sourceTree = ""; - }; - E8F1864A1CEEC441008F5767 /* Products */ = { - isa = PBXGroup; - children = ( - E8F186491CEEC441008F5767 /* CocoaPodsExample.app */, - E8F1865A1CEEC442008F5767 /* CocoaPodsExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E8F1864B1CEEC441008F5767 /* CocoaPodsExample */ = { - isa = PBXGroup; - children = ( - E8F1864C1CEEC442008F5767 /* AppDelegate.swift */, - E8F186501CEEC442008F5767 /* Assets.xcassets */, - E8F186551CEEC442008F5767 /* Info.plist */, - E8F186521CEEC442008F5767 /* Main.storyboard */, - E8F1864E1CEEC442008F5767 /* ViewController.swift */, - ); - path = CocoaPodsExample; - sourceTree = ""; - }; - E8F1865D1CEEC442008F5767 /* CocoaPodsExampleTests */ = { - isa = PBXGroup; - children = ( - E8F1865E1CEEC442008F5767 /* CocoaPodsExampleTests.swift */, - E8F186601CEEC442008F5767 /* Info.plist */, - ); - path = CocoaPodsExampleTests; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8F186481CEEC441008F5767 /* CocoaPodsExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8F186631CEEC442008F5767 /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */; - buildPhases = ( - 5403F95EB8E1F0B2C55F212D /* [CP] Check Pods Manifest.lock */, - E8F186451CEEC441008F5767 /* Sources */, - E8F186461CEEC441008F5767 /* Frameworks */, - E8F186471CEEC441008F5767 /* Resources */, - E041478589EAAC2BD3F7632A /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = CocoaPodsExample; - productName = CocoaPodsExample; - productReference = E8F186491CEEC441008F5767 /* CocoaPodsExample.app */; - productType = "com.apple.product-type.application"; - }; - E8F186591CEEC442008F5767 /* CocoaPodsExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8F186661CEEC442008F5767 /* Build configuration list for PBXNativeTarget "CocoaPodsExampleTests" */; - buildPhases = ( - 2DBD3D2E1111147B848E771D /* [CP] Check Pods Manifest.lock */, - E8F186561CEEC442008F5767 /* Sources */, - E8F186571CEEC442008F5767 /* Frameworks */, - E8F186581CEEC442008F5767 /* Resources */, - 11CE7F899A0009F9AA2B7B71 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - E8F1865C1CEEC442008F5767 /* PBXTargetDependency */, - ); - name = CocoaPodsExampleTests; - productName = CocoaPodsExampleTests; - productReference = E8F1865A1CEEC442008F5767 /* CocoaPodsExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8F186411CEEC441008F5767 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0730; - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8F186481CEEC441008F5767 = { - CreatedOnToolsVersion = 7.3.1; - LastSwiftMigration = 1020; - }; - E8F186591CEEC442008F5767 = { - CreatedOnToolsVersion = 7.3.1; - LastSwiftMigration = 1020; - TestTargetID = E8F186481CEEC441008F5767; - }; - }; - }; - buildConfigurationList = E8F186441CEEC441008F5767 /* Build configuration list for PBXProject "CocoaPodsExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E8F186401CEEC441008F5767; - productRefGroup = E8F1864A1CEEC441008F5767 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8F186481CEEC441008F5767 /* CocoaPodsExample */, - E8F186591CEEC442008F5767 /* CocoaPodsExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8F186471CEEC441008F5767 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8F186511CEEC442008F5767 /* Assets.xcassets in Resources */, - E8F186541CEEC442008F5767 /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8F186581CEEC442008F5767 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 11CE7F899A0009F9AA2B7B71 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Realm/Realm.framework", - "${BUILT_PRODUCTS_DIR}/RealmSwift/RealmSwift.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RealmSwift.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExampleTests/Pods-CocoaPodsExampleTests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 2DBD3D2E1111147B848E771D /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsExampleTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 5403F95EB8E1F0B2C55F212D /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsExample-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - E041478589EAAC2BD3F7632A /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Realm/Realm.framework", - "${BUILT_PRODUCTS_DIR}/RealmSwift/RealmSwift.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RealmSwift.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExample/Pods-CocoaPodsExample-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8F186451CEEC441008F5767 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8F1864D1CEEC442008F5767 /* AppDelegate.swift in Sources */, - E8F1864F1CEEC442008F5767 /* ViewController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8F186561CEEC442008F5767 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8F1865F1CEEC442008F5767 /* CocoaPodsExampleTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8F1865C1CEEC442008F5767 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8F186481CEEC441008F5767 /* CocoaPodsExample */; - targetProxy = E8F1865B1CEEC442008F5767 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8F186521CEEC442008F5767 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8F186531CEEC442008F5767 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8F186611CEEC442008F5767 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.13; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - E8F186621CEEC442008F5767 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.13; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - }; - name = Release; - }; - E8F186641CEEC442008F5767 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 935AE9102713E46948B28E87 /* Pods-CocoaPodsExample.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - E8F186651CEEC442008F5767 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B2F54684A04A7CE473C6A385 /* Pods-CocoaPodsExample.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - E8F186671CEEC442008F5767 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1754274DD85BC94FBE718272 /* Pods-CocoaPodsExampleTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = CocoaPodsExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExampleTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsExample.app/Contents/MacOS/CocoaPodsExample"; - }; - name = Debug; - }; - E8F186681CEEC442008F5767 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D1BEEF9604335FBE0C7BAE3E /* Pods-CocoaPodsExampleTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = CocoaPodsExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExampleTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CocoaPodsExample.app/Contents/MacOS/CocoaPodsExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8F186441CEEC441008F5767 /* Build configuration list for PBXProject "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8F186611CEEC442008F5767 /* Debug */, - E8F186621CEEC442008F5767 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8F186631CEEC442008F5767 /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8F186641CEEC442008F5767 /* Debug */, - E8F186651CEEC442008F5767 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8F186661CEEC442008F5767 /* Build configuration list for PBXNativeTarget "CocoaPodsExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8F186671CEEC442008F5767 /* Debug */, - E8F186681CEEC442008F5767 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8F186411CEEC441008F5767 /* Project object */; -} diff --git a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme b/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme deleted file mode 100644 index 95560b6524..0000000000 --- a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/AppDelegate.swift b/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/AppDelegate.swift deleted file mode 100644 index 67197ef1ba..0000000000 --- a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/AppDelegate.swift +++ /dev/null @@ -1,27 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import Cocoa -import RealmSwift - -open class MyModel: Object { - @objc dynamic var requiredProperty: String? -} - -@NSApplicationMain -class AppDelegate: NSObject, NSApplicationDelegate {} diff --git a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/Assets.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 2db2b1c7c6..0000000000 --- a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "images" : [ - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard b/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard deleted file mode 100644 index 32363c0cdd..0000000000 --- a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,681 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/Info.plist b/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/Info.plist deleted file mode 100644 index 6ee713db59..0000000000 --- a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/Info.plist +++ /dev/null @@ -1,34 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - Copyright © 2016 Realm. All rights reserved. - NSMainStoryboardFile - Main - NSPrincipalClass - NSApplication - - diff --git a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/ViewController.swift b/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/ViewController.swift deleted file mode 100644 index 2dc5680b4a..0000000000 --- a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExample/ViewController.swift +++ /dev/null @@ -1,21 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import Cocoa - -class ViewController: NSViewController {} diff --git a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.swift b/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.swift deleted file mode 100644 index 7582cad5b8..0000000000 --- a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExampleTests/CocoaPodsExampleTests.swift +++ /dev/null @@ -1,28 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import XCTest -@testable import CocoaPodsExample -import RealmSwift - -class CocoaPodsExampleTests: XCTestCase { - func testExample() { - // This is an example of a functional test case. - XCTAssertNotNil(MyModel() as AnyObject is Object) - } -} diff --git a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExampleTests/Info.plist b/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/osx/swift/CocoaPodsExample/CocoaPodsExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/osx/swift/CocoaPodsExample/Podfile b/examples/installation/osx/swift/CocoaPodsExample/Podfile deleted file mode 100644 index 449bf641b4..0000000000 --- a/examples/installation/osx/swift/CocoaPodsExample/Podfile +++ /dev/null @@ -1,24 +0,0 @@ -# Uncomment this line to define a global platform for your project -# platform :ios, '6.0' - -branch = ENV['sha'] - -target 'CocoaPodsExample' do - use_frameworks! - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch - pod 'RealmSwift', git: 'https://github.com/realm/realm-swift.git', branch: branch -end - -target 'CocoaPodsExampleTests' do - use_frameworks! - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch - pod 'RealmSwift', git: 'https://github.com/realm/realm-swift.git', branch: branch -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - config.build_settings['GCC_GENERATE_DEBUGGING_SYMBOLS'] = 'NO' - end - end -end diff --git a/examples/installation/osx/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj b/examples/installation/osx/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj deleted file mode 100644 index a0dae91dd1..0000000000 --- a/examples/installation/osx/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,482 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - E8D051FF1B3CCCC9007A482B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8D051FE1B3CCCC9007A482B /* AppDelegate.swift */; }; - E8D052011B3CCCC9007A482B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8D052001B3CCCC9007A482B /* ViewController.swift */; }; - E8D052031B3CCCC9007A482B /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E8D052021B3CCCC9007A482B /* Images.xcassets */; }; - E8D052061B3CCCC9007A482B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8D052041B3CCCC9007A482B /* Main.storyboard */; }; - E8D052121B3CCCC9007A482B /* DynamicExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8D052111B3CCCC9007A482B /* DynamicExampleTests.swift */; }; - E8D0521F1B3CCDC7007A482B /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = E8D0521B1B3CCCE5007A482B /* Realm.xcframework */; }; - E8D052201B3CCDC7007A482B /* Realm.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E8D0521B1B3CCCE5007A482B /* Realm.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - E8D052211B3CCDC7007A482B /* RealmSwift.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = E8D0521C1B3CCCE5007A482B /* RealmSwift.xcframework */; }; - E8D052221B3CCDC7007A482B /* RealmSwift.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E8D0521C1B3CCCE5007A482B /* RealmSwift.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8D0520C1B3CCCC9007A482B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8D051F11B3CCCC8007A482B /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8D051F81B3CCCC9007A482B; - remoteInfo = DynamicExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E8D052231B3CCDC7007A482B /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - E8D052201B3CCDC7007A482B /* Realm.xcframework in Embed Frameworks */, - E8D052221B3CCDC7007A482B /* RealmSwift.xcframework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - E8D051F91B3CCCC9007A482B /* DynamicExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DynamicExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8D051FD1B3CCCC9007A482B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8D051FE1B3CCCC9007A482B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - E8D052001B3CCCC9007A482B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - E8D052021B3CCCC9007A482B /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E8D052051B3CCCC9007A482B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E8D0520B1B3CCCC9007A482B /* DynamicExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DynamicExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E8D052101B3CCCC9007A482B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8D052111B3CCCC9007A482B /* DynamicExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DynamicExampleTests.swift; sourceTree = ""; }; - E8D0521B1B3CCCE5007A482B /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = "../../../realm-swift-latest/Realm.xcframework"; sourceTree = ""; }; - E8D0521C1B3CCCE5007A482B /* RealmSwift.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = RealmSwift.xcframework; path = "../../../realm-swift-latest/RealmSwift.xcframework"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8D051F61B3CCCC9007A482B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - E8D0521F1B3CCDC7007A482B /* Realm.xcframework in Frameworks */, - E8D052211B3CCDC7007A482B /* RealmSwift.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8D052081B3CCCC9007A482B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - E8D051F01B3CCCC8007A482B = { - isa = PBXGroup; - children = ( - E8D051FB1B3CCCC9007A482B /* DynamicExample */, - E8D0520E1B3CCCC9007A482B /* DynamicExampleTests */, - E8D051FA1B3CCCC9007A482B /* Products */, - E8D0521B1B3CCCE5007A482B /* Realm.xcframework */, - E8D0521C1B3CCCE5007A482B /* RealmSwift.xcframework */, - ); - sourceTree = ""; - }; - E8D051FA1B3CCCC9007A482B /* Products */ = { - isa = PBXGroup; - children = ( - E8D051F91B3CCCC9007A482B /* DynamicExample.app */, - E8D0520B1B3CCCC9007A482B /* DynamicExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E8D051FB1B3CCCC9007A482B /* DynamicExample */ = { - isa = PBXGroup; - children = ( - E8D051FC1B3CCCC9007A482B /* Supporting Files */, - E8D051FE1B3CCCC9007A482B /* AppDelegate.swift */, - E8D052021B3CCCC9007A482B /* Images.xcassets */, - E8D052041B3CCCC9007A482B /* Main.storyboard */, - E8D052001B3CCCC9007A482B /* ViewController.swift */, - ); - path = DynamicExample; - sourceTree = ""; - }; - E8D051FC1B3CCCC9007A482B /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8D051FD1B3CCCC9007A482B /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E8D0520E1B3CCCC9007A482B /* DynamicExampleTests */ = { - isa = PBXGroup; - children = ( - E8D0520F1B3CCCC9007A482B /* Supporting Files */, - E8D052111B3CCCC9007A482B /* DynamicExampleTests.swift */, - ); - path = DynamicExampleTests; - sourceTree = ""; - }; - E8D0520F1B3CCCC9007A482B /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8D052101B3CCCC9007A482B /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8D051F81B3CCCC9007A482B /* DynamicExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8D052151B3CCCC9007A482B /* Build configuration list for PBXNativeTarget "DynamicExample" */; - buildPhases = ( - E8D051F51B3CCCC9007A482B /* Sources */, - E8D051F61B3CCCC9007A482B /* Frameworks */, - E8D051F71B3CCCC9007A482B /* Resources */, - E8D052231B3CCDC7007A482B /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = DynamicExample; - productName = DynamicExample; - productReference = E8D051F91B3CCCC9007A482B /* DynamicExample.app */; - productType = "com.apple.product-type.application"; - }; - E8D0520A1B3CCCC9007A482B /* DynamicExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8D052181B3CCCC9007A482B /* Build configuration list for PBXNativeTarget "DynamicExampleTests" */; - buildPhases = ( - E8D052071B3CCCC9007A482B /* Sources */, - E8D052081B3CCCC9007A482B /* Frameworks */, - E8D052091B3CCCC9007A482B /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E8D0520D1B3CCCC9007A482B /* PBXTargetDependency */, - ); - name = DynamicExampleTests; - productName = DynamicExampleTests; - productReference = E8D0520B1B3CCCC9007A482B /* DynamicExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8D051F11B3CCCC8007A482B /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0710; - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8D051F81B3CCCC9007A482B = { - CreatedOnToolsVersion = 6.3.2; - LastSwiftMigration = 1020; - }; - E8D0520A1B3CCCC9007A482B = { - CreatedOnToolsVersion = 6.3.2; - LastSwiftMigration = 1020; - TestTargetID = E8D051F81B3CCCC9007A482B; - }; - }; - }; - buildConfigurationList = E8D051F41B3CCCC8007A482B /* Build configuration list for PBXProject "DynamicExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E8D051F01B3CCCC8007A482B; - productRefGroup = E8D051FA1B3CCCC9007A482B /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8D051F81B3CCCC9007A482B /* DynamicExample */, - E8D0520A1B3CCCC9007A482B /* DynamicExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8D051F71B3CCCC9007A482B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8D052031B3CCCC9007A482B /* Images.xcassets in Resources */, - E8D052061B3CCCC9007A482B /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8D052091B3CCCC9007A482B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8D051F51B3CCCC9007A482B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8D051FF1B3CCCC9007A482B /* AppDelegate.swift in Sources */, - E8D052011B3CCCC9007A482B /* ViewController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8D052071B3CCCC9007A482B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8D052121B3CCCC9007A482B /* DynamicExampleTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8D0520D1B3CCCC9007A482B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8D051F81B3CCCC9007A482B /* DynamicExample */; - targetProxy = E8D0520C1B3CCCC9007A482B /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8D052041B3CCCC9007A482B /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8D052051B3CCCC9007A482B /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8D052131B3CCCC9007A482B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = "../../../realm-swift-latest/osx/swift-12.2"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - E8D052141B3CCCC9007A482B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = "../../../realm-swift-latest/osx/swift-12.2"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - }; - name = Release; - }; - E8D052161B3CCCC9007A482B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = DynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - E8D052171B3CCCC9007A482B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = DynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - E8D052191B3CCCC9007A482B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = DynamicExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DynamicExample.app/Contents/MacOS/DynamicExample"; - }; - name = Debug; - }; - E8D0521A1B3CCCC9007A482B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - INFOPLIST_FILE = DynamicExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DynamicExample.app/Contents/MacOS/DynamicExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8D051F41B3CCCC8007A482B /* Build configuration list for PBXProject "DynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8D052131B3CCCC9007A482B /* Debug */, - E8D052141B3CCCC9007A482B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8D052151B3CCCC9007A482B /* Build configuration list for PBXNativeTarget "DynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8D052161B3CCCC9007A482B /* Debug */, - E8D052171B3CCCC9007A482B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8D052181B3CCCC9007A482B /* Build configuration list for PBXNativeTarget "DynamicExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8D052191B3CCCC9007A482B /* Debug */, - E8D0521A1B3CCCC9007A482B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8D051F11B3CCCC8007A482B /* Project object */; -} diff --git a/examples/installation/osx/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme b/examples/installation/osx/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme deleted file mode 100644 index aeea7806bb..0000000000 --- a/examples/installation/osx/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/swift/DynamicExample/DynamicExample/AppDelegate.swift b/examples/installation/osx/swift/DynamicExample/DynamicExample/AppDelegate.swift deleted file mode 100644 index 63d1c1fa48..0000000000 --- a/examples/installation/osx/swift/DynamicExample/DynamicExample/AppDelegate.swift +++ /dev/null @@ -1,40 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import Cocoa -import RealmSwift - -open class MyModel: Object { - @objc dynamic var requiredProperty: String? -} - -@NSApplicationMain -class AppDelegate: NSObject, NSApplicationDelegate { - - - - func applicationDidFinishLaunching(_ aNotification: Notification) { - // Insert code here to initialize your application - } - - func applicationWillTerminate(_ aNotification: Notification) { - // Insert code here to tear down your application - } - - -} diff --git a/examples/installation/osx/swift/DynamicExample/DynamicExample/Base.lproj/Main.storyboard b/examples/installation/osx/swift/DynamicExample/DynamicExample/Base.lproj/Main.storyboard deleted file mode 100644 index 76eb439a1e..0000000000 --- a/examples/installation/osx/swift/DynamicExample/DynamicExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,681 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/swift/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/osx/swift/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 2db2b1c7c6..0000000000 --- a/examples/installation/osx/swift/DynamicExample/DynamicExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "images" : [ - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/examples/installation/osx/swift/DynamicExample/DynamicExample/Info.plist b/examples/installation/osx/swift/DynamicExample/DynamicExample/Info.plist deleted file mode 100644 index 34ad20fe28..0000000000 --- a/examples/installation/osx/swift/DynamicExample/DynamicExample/Info.plist +++ /dev/null @@ -1,34 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - Copyright © 2015 Realm. All rights reserved. - NSMainStoryboardFile - Main - NSPrincipalClass - NSApplication - - diff --git a/examples/installation/osx/swift/DynamicExample/DynamicExample/ViewController.swift b/examples/installation/osx/swift/DynamicExample/DynamicExample/ViewController.swift deleted file mode 100644 index a8715f4929..0000000000 --- a/examples/installation/osx/swift/DynamicExample/DynamicExample/ViewController.swift +++ /dev/null @@ -1,36 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import Cocoa - -class ViewController: NSViewController { - - override func viewDidLoad() { - super.viewDidLoad() - - // Do any additional setup after loading the view. - } - - override var representedObject: Any? { - didSet { - // Update the view, if already loaded. - } - } - - -} diff --git a/examples/installation/osx/swift/DynamicExample/DynamicExampleTests/DynamicExampleTests.swift b/examples/installation/osx/swift/DynamicExample/DynamicExampleTests/DynamicExampleTests.swift deleted file mode 100644 index 76397612e0..0000000000 --- a/examples/installation/osx/swift/DynamicExample/DynamicExampleTests/DynamicExampleTests.swift +++ /dev/null @@ -1,29 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import Cocoa -import XCTest -import DynamicExample -import RealmSwift - -class DynamicExampleTests: XCTestCase { - func testExample() { - // This is an example of a functional test case. - XCTAssertNotNil(MyModel() as AnyObject is Object) - } -} diff --git a/examples/installation/osx/swift/DynamicExample/DynamicExampleTests/Info.plist b/examples/installation/osx/swift/DynamicExample/DynamicExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/osx/swift/DynamicExample/DynamicExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj b/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj deleted file mode 100644 index bcf72bfe3a..0000000000 --- a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,495 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 3FCABC2428C17E12008C966A /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3FCABC2228C17E12008C966A /* Realm.xcframework */; }; - 3FCABC2528C17E12008C966A /* RealmSwift.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3FCABC2328C17E12008C966A /* RealmSwift.xcframework */; }; - E8D051FF1B3CCCC9007A482B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8D051FE1B3CCCC9007A482B /* AppDelegate.swift */; }; - E8D052011B3CCCC9007A482B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8D052001B3CCCC9007A482B /* ViewController.swift */; }; - E8D052031B3CCCC9007A482B /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E8D052021B3CCCC9007A482B /* Images.xcassets */; }; - E8D052061B3CCCC9007A482B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8D052041B3CCCC9007A482B /* Main.storyboard */; }; - E8D052121B3CCCC9007A482B /* XCFrameworkExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8D052111B3CCCC9007A482B /* XCFrameworkExampleTests.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8D0520C1B3CCCC9007A482B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8D051F11B3CCCC8007A482B /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8D051F81B3CCCC9007A482B; - remoteInfo = XCFrameworkExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E8D052231B3CCDC7007A482B /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 3FCABC2228C17E12008C966A /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = "../../../xcframework-evolution/Realm.xcframework"; sourceTree = ""; }; - 3FCABC2328C17E12008C966A /* RealmSwift.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = RealmSwift.xcframework; path = "../../../xcframework-evolution/RealmSwift.xcframework"; sourceTree = ""; }; - E8D051F91B3CCCC9007A482B /* XCFrameworkExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = XCFrameworkExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8D051FD1B3CCCC9007A482B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8D051FE1B3CCCC9007A482B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - E8D052001B3CCCC9007A482B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - E8D052021B3CCCC9007A482B /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - E8D052051B3CCCC9007A482B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E8D0520B1B3CCCC9007A482B /* XCFrameworkExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = XCFrameworkExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - E8D052101B3CCCC9007A482B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8D052111B3CCCC9007A482B /* XCFrameworkExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = XCFrameworkExampleTests.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8D051F61B3CCCC9007A482B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3FCABC2428C17E12008C966A /* Realm.xcframework in Frameworks */, - 3FCABC2528C17E12008C966A /* RealmSwift.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8D052081B3CCCC9007A482B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - E8D051F01B3CCCC8007A482B = { - isa = PBXGroup; - children = ( - E8D051FA1B3CCCC9007A482B /* Products */, - E8D051FB1B3CCCC9007A482B /* XCFrameworkExample */, - E8D0520E1B3CCCC9007A482B /* XCFrameworkExampleTests */, - 3FCABC2228C17E12008C966A /* Realm.xcframework */, - 3FCABC2328C17E12008C966A /* RealmSwift.xcframework */, - ); - sourceTree = ""; - }; - E8D051FA1B3CCCC9007A482B /* Products */ = { - isa = PBXGroup; - children = ( - E8D051F91B3CCCC9007A482B /* XCFrameworkExample.app */, - E8D0520B1B3CCCC9007A482B /* XCFrameworkExampleTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - E8D051FB1B3CCCC9007A482B /* XCFrameworkExample */ = { - isa = PBXGroup; - children = ( - E8D051FC1B3CCCC9007A482B /* Supporting Files */, - E8D051FE1B3CCCC9007A482B /* AppDelegate.swift */, - E8D052021B3CCCC9007A482B /* Images.xcassets */, - E8D052041B3CCCC9007A482B /* Main.storyboard */, - E8D052001B3CCCC9007A482B /* ViewController.swift */, - ); - path = XCFrameworkExample; - sourceTree = ""; - }; - E8D051FC1B3CCCC9007A482B /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8D051FD1B3CCCC9007A482B /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E8D0520E1B3CCCC9007A482B /* XCFrameworkExampleTests */ = { - isa = PBXGroup; - children = ( - E8D0520F1B3CCCC9007A482B /* Supporting Files */, - E8D052111B3CCCC9007A482B /* XCFrameworkExampleTests.swift */, - ); - path = XCFrameworkExampleTests; - sourceTree = ""; - }; - E8D0520F1B3CCCC9007A482B /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E8D052101B3CCCC9007A482B /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8D051F81B3CCCC9007A482B /* XCFrameworkExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8D052151B3CCCC9007A482B /* Build configuration list for PBXNativeTarget "XCFrameworkExample" */; - buildPhases = ( - E8D051F51B3CCCC9007A482B /* Sources */, - E8D051F61B3CCCC9007A482B /* Frameworks */, - E8D051F71B3CCCC9007A482B /* Resources */, - E8D052231B3CCDC7007A482B /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = XCFrameworkExample; - productName = XCFrameworkExample; - productReference = E8D051F91B3CCCC9007A482B /* XCFrameworkExample.app */; - productType = "com.apple.product-type.application"; - }; - E8D0520A1B3CCCC9007A482B /* XCFrameworkExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8D052181B3CCCC9007A482B /* Build configuration list for PBXNativeTarget "XCFrameworkExampleTests" */; - buildPhases = ( - E8D052071B3CCCC9007A482B /* Sources */, - E8D052081B3CCCC9007A482B /* Frameworks */, - E8D052091B3CCCC9007A482B /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E8D0520D1B3CCCC9007A482B /* PBXTargetDependency */, - ); - name = XCFrameworkExampleTests; - productName = XCFrameworkExampleTests; - productReference = E8D0520B1B3CCCC9007A482B /* XCFrameworkExampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8D051F11B3CCCC8007A482B /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0710; - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8D051F81B3CCCC9007A482B = { - CreatedOnToolsVersion = 6.3.2; - LastSwiftMigration = 1020; - }; - E8D0520A1B3CCCC9007A482B = { - CreatedOnToolsVersion = 6.3.2; - LastSwiftMigration = 1020; - TestTargetID = E8D051F81B3CCCC9007A482B; - }; - }; - }; - buildConfigurationList = E8D051F41B3CCCC8007A482B /* Build configuration list for PBXProject "XCFrameworkExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E8D051F01B3CCCC8007A482B; - productRefGroup = E8D051FA1B3CCCC9007A482B /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8D051F81B3CCCC9007A482B /* XCFrameworkExample */, - E8D0520A1B3CCCC9007A482B /* XCFrameworkExampleTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8D051F71B3CCCC9007A482B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8D052031B3CCCC9007A482B /* Images.xcassets in Resources */, - E8D052061B3CCCC9007A482B /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8D052091B3CCCC9007A482B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8D051F51B3CCCC9007A482B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8D051FF1B3CCCC9007A482B /* AppDelegate.swift in Sources */, - E8D052011B3CCCC9007A482B /* ViewController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8D052071B3CCCC9007A482B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8D052121B3CCCC9007A482B /* XCFrameworkExampleTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8D0520D1B3CCCC9007A482B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8D051F81B3CCCC9007A482B /* XCFrameworkExample */; - targetProxy = E8D0520C1B3CCCC9007A482B /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8D052041B3CCCC9007A482B /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8D052051B3CCCC9007A482B /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8D052131B3CCCC9007A482B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = ""; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - E8D052141B3CCCC9007A482B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = ""; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - }; - name = Release; - }; - E8D052161B3CCCC9007A482B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = XCFrameworkExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - E8D052171B3CCCC9007A482B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = XCFrameworkExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - E8D052191B3CCCC9007A482B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = XCFrameworkExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/XCFrameworkExample.app/Contents/MacOS/XCFrameworkExample"; - }; - name = Debug; - }; - E8D0521A1B3CCCC9007A482B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - INFOPLIST_FILE = XCFrameworkExampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/XCFrameworkExample.app/Contents/MacOS/XCFrameworkExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8D051F41B3CCCC8007A482B /* Build configuration list for PBXProject "XCFrameworkExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8D052131B3CCCC9007A482B /* Debug */, - E8D052141B3CCCC9007A482B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8D052151B3CCCC9007A482B /* Build configuration list for PBXNativeTarget "XCFrameworkExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8D052161B3CCCC9007A482B /* Debug */, - E8D052171B3CCCC9007A482B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8D052181B3CCCC9007A482B /* Build configuration list for PBXNativeTarget "XCFrameworkExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8D052191B3CCCC9007A482B /* Debug */, - E8D0521A1B3CCCC9007A482B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8D051F11B3CCCC8007A482B /* Project object */; -} diff --git a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme b/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme deleted file mode 100644 index ee94f8cff3..0000000000 --- a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/AppDelegate.swift b/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/AppDelegate.swift deleted file mode 100644 index 02b15a146e..0000000000 --- a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/AppDelegate.swift +++ /dev/null @@ -1,28 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import Cocoa -import RealmSwift - -open class MyModel: Object { - @objc dynamic var requiredProperty: String? -} - -@NSApplicationMain -class AppDelegate: NSObject, NSApplicationDelegate { -} diff --git a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard b/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard deleted file mode 100644 index 34a6a7c82a..0000000000 --- a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,681 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json b/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 16b39b6da3..0000000000 --- a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "images" : [ - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/Info.plist b/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/Info.plist deleted file mode 100644 index 34ad20fe28..0000000000 --- a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/Info.plist +++ /dev/null @@ -1,34 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - Copyright © 2015 Realm. All rights reserved. - NSMainStoryboardFile - Main - NSPrincipalClass - NSApplication - - diff --git a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/ViewController.swift b/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/ViewController.swift deleted file mode 100644 index 8a68b0b44c..0000000000 --- a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExample/ViewController.swift +++ /dev/null @@ -1,22 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import Cocoa - -class ViewController: NSViewController { -} diff --git a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExampleTests/Info.plist b/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExampleTests/Info.plist deleted file mode 100644 index ba72822e87..0000000000 --- a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.swift b/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.swift deleted file mode 100644 index 70ffe23387..0000000000 --- a/examples/installation/osx/swift/XCFrameworkExample/XCFrameworkExampleTests/XCFrameworkExampleTests.swift +++ /dev/null @@ -1,30 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import Cocoa -import XCTest -import XCFrameworkExample -import RealmSwift - -class XCFrameworkExampleTests: XCTestCase { - func testExample() { - // This is an example of a functional test case. - XCTAssertNotNil(MyModel() as AnyObject is Object) - _ = try! Realm() - } -} diff --git a/examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit App/Base.lproj/Interface.storyboard b/examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit App/Base.lproj/Interface.storyboard deleted file mode 100644 index 6e334f8ac5..0000000000 --- a/examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit App/Base.lproj/Interface.storyboard +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit App/Info.plist b/examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit App/Info.plist deleted file mode 100644 index 29f4a543a5..0000000000 --- a/examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit App/Info.plist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - CarthageExample WatchKit App - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - - WKCompanionAppBundleIdentifier - io.realm.CarthageExample - WKWatchKitApp - - - diff --git a/examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit Extension/Info.plist b/examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit Extension/Info.plist deleted file mode 100644 index 51711a49ec..0000000000 --- a/examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit Extension/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - CarthageExample WatchKit Extension - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - XPC! - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - NSExtension - - NSExtensionAttributes - - WKAppBundleIdentifier - io.realm.CarthageExample.watchkitapp - - NSExtensionPointIdentifier - com.apple.watchkit - - RemoteInterfacePrincipalClass - InterfaceController - WKExtensionDelegateClassName - ExtensionDelegate - - diff --git a/examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit Extension/InterfaceController.h b/examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit Extension/InterfaceController.h deleted file mode 100644 index a4f8b06810..0000000000 --- a/examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit Extension/InterfaceController.h +++ /dev/null @@ -1,22 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -@interface InterfaceController : WKInterfaceController -@end diff --git a/examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit Extension/InterfaceController.m b/examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit Extension/InterfaceController.m deleted file mode 100644 index 4c80d4583b..0000000000 --- a/examples/installation/watchos/objc/CarthageExample/CarthageExample WatchKit Extension/InterfaceController.m +++ /dev/null @@ -1,67 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import "InterfaceController.h" - -@interface Counter: RLMObject -@property int count; -@end -@implementation Counter -@end - -@interface InterfaceController () -@property (unsafe_unretained, nonatomic) IBOutlet WKInterfaceButton *button; -@property (nonatomic, strong) Counter *counter; -@property (nonatomic, strong) RLMNotificationToken *token; -@end - -@implementation InterfaceController - -- (instancetype)init -{ - self = [super init]; - if (self) { - self.counter = [[Counter alloc] init]; - RLMRealm *realm = [RLMRealm defaultRealm]; - [realm transactionWithBlock:^{ - [realm addObject:self.counter]; - }]; - } - return self; -} - -- (IBAction)increment { - [self.counter.realm transactionWithBlock:^{ - self.counter.count++; - }]; -} - -- (void)willActivate { - [super willActivate]; - self.token = [self.counter.realm addNotificationBlock:^(NSString * _Nonnull notification, RLMRealm * _Nonnull realm) { - [self.button setTitle:[NSString stringWithFormat:@"%@", @(self.counter.count)]]; - }]; -} - -- (void)didDeactivate { - [self.token invalidate]; - [super didDeactivate]; -} - -@end diff --git a/examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj b/examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj deleted file mode 100644 index 2d066cfec4..0000000000 --- a/examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,571 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 3F45204829147015008F07AD /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F45204729147015008F07AD /* Realm.xcframework */; }; - 3F45204929147015008F07AD /* Realm.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3F45204729147015008F07AD /* Realm.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - E8645B891C7913D600C241AA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E8645B881C7913D600C241AA /* main.m */; }; - E8645B9C1C7913D600C241AA /* CarthageExample WatchKit App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = E8645B9B1C7913D600C241AA /* CarthageExample WatchKit App.app */; }; - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8645BA01C7913D600C241AA /* Interface.storyboard */; }; - E8645BAB1C7913D600C241AA /* CarthageExample WatchKit Extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = E8645BAA1C7913D600C241AA /* CarthageExample WatchKit Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; - E8645BB11C7913D600C241AA /* InterfaceController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8645BB01C7913D600C241AA /* InterfaceController.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645B9A1C7913D600C241AA; - remoteInfo = "CarthageExample WatchKit App"; - }; - E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645BA91C7913D600C241AA; - remoteInfo = "CarthageExample WatchKit Extension"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 3F45204A29147015008F07AD /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 3F45204929147015008F07AD /* Realm.xcframework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BBD1C7913D600C241AA /* Embed App Extensions */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 13; - files = ( - E8645BAB1C7913D600C241AA /* CarthageExample WatchKit Extension.appex in Embed App Extensions */, - ); - name = "Embed App Extensions"; - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BC11C7913D600C241AA /* Embed Watch Content */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = "$(CONTENTS_FOLDER_PATH)/Watch"; - dstSubfolderSpec = 16; - files = ( - E8645B9C1C7913D600C241AA /* CarthageExample WatchKit App.app in Embed Watch Content */, - ); - name = "Embed Watch Content"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 3F45204729147015008F07AD /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = Carthage/Build/Realm.xcframework; sourceTree = ""; }; - E8645B841C7913D600C241AA /* CarthageExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CarthageExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645B881C7913D600C241AA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E8645B981C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645B9B1C7913D600C241AA /* CarthageExample WatchKit App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "CarthageExample WatchKit App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BA11C7913D600C241AA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Interface.storyboard; sourceTree = ""; }; - E8645BA51C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645BAA1C7913D600C241AA /* CarthageExample WatchKit Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "CarthageExample WatchKit Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BAF1C7913D600C241AA /* InterfaceController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = InterfaceController.h; sourceTree = ""; }; - E8645BB01C7913D600C241AA /* InterfaceController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InterfaceController.m; sourceTree = ""; }; - E8645BB71C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8645B811C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA71C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3F45204829147015008F07AD /* Realm.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 3F45204629147015008F07AD /* Frameworks */ = { - isa = PBXGroup; - children = ( - 3F45204729147015008F07AD /* Realm.xcframework */, - ); - name = Frameworks; - sourceTree = ""; - }; - E8645B7B1C7913D600C241AA = { - isa = PBXGroup; - children = ( - E8645B861C7913D600C241AA /* CarthageExample */, - E8645B9F1C7913D600C241AA /* CarthageExample WatchKit App */, - E8645BAE1C7913D600C241AA /* CarthageExample WatchKit Extension */, - E8645B851C7913D600C241AA /* Products */, - 3F45204629147015008F07AD /* Frameworks */, - ); - sourceTree = ""; - }; - E8645B851C7913D600C241AA /* Products */ = { - isa = PBXGroup; - children = ( - E8645B9B1C7913D600C241AA /* CarthageExample WatchKit App.app */, - E8645BAA1C7913D600C241AA /* CarthageExample WatchKit Extension.appex */, - E8645B841C7913D600C241AA /* CarthageExample.app */, - ); - name = Products; - sourceTree = ""; - }; - E8645B861C7913D600C241AA /* CarthageExample */ = { - isa = PBXGroup; - children = ( - E8645B981C7913D600C241AA /* Info.plist */, - E8645B881C7913D600C241AA /* main.m */, - ); - path = CarthageExample; - sourceTree = ""; - }; - E8645B9F1C7913D600C241AA /* CarthageExample WatchKit App */ = { - isa = PBXGroup; - children = ( - E8645BA51C7913D600C241AA /* Info.plist */, - E8645BA01C7913D600C241AA /* Interface.storyboard */, - ); - path = "CarthageExample WatchKit App"; - sourceTree = ""; - }; - E8645BAE1C7913D600C241AA /* CarthageExample WatchKit Extension */ = { - isa = PBXGroup; - children = ( - E8645BB71C7913D600C241AA /* Info.plist */, - E8645BAF1C7913D600C241AA /* InterfaceController.h */, - E8645BB01C7913D600C241AA /* InterfaceController.m */, - ); - path = "CarthageExample WatchKit Extension"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8645B831C7913D600C241AA /* CarthageExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "CarthageExample" */; - buildPhases = ( - E8645B801C7913D600C241AA /* Sources */, - E8645B811C7913D600C241AA /* Frameworks */, - E8645B821C7913D600C241AA /* Resources */, - E8645BC11C7913D600C241AA /* Embed Watch Content */, - ); - buildRules = ( - ); - dependencies = ( - E8645B9E1C7913D600C241AA /* PBXTargetDependency */, - ); - name = CarthageExample; - productName = CarthageExample; - productReference = E8645B841C7913D600C241AA /* CarthageExample.app */; - productType = "com.apple.product-type.application"; - }; - E8645B9A1C7913D600C241AA /* CarthageExample WatchKit App */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CarthageExample WatchKit App" */; - buildPhases = ( - E8645B991C7913D600C241AA /* Resources */, - E8645BBD1C7913D600C241AA /* Embed App Extensions */, - ); - buildRules = ( - ); - dependencies = ( - E8645BAD1C7913D600C241AA /* PBXTargetDependency */, - ); - name = "CarthageExample WatchKit App"; - productName = "CarthageExample WatchKit App"; - productReference = E8645B9B1C7913D600C241AA /* CarthageExample WatchKit App.app */; - productType = "com.apple.product-type.application.watchapp2"; - }; - E8645BA91C7913D600C241AA /* CarthageExample WatchKit Extension */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CarthageExample WatchKit Extension" */; - buildPhases = ( - E8645BA61C7913D600C241AA /* Sources */, - E8645BA71C7913D600C241AA /* Frameworks */, - E8645BA81C7913D600C241AA /* Resources */, - 3F45204A29147015008F07AD /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "CarthageExample WatchKit Extension"; - productName = "CarthageExample WatchKit Extension"; - productReference = E8645BAA1C7913D600C241AA /* CarthageExample WatchKit Extension.appex */; - productType = "com.apple.product-type.watchkit2-extension"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8645B7C1C7913D600C241AA /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8645B831C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - E8645B9A1C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - E8645BA91C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - }; - }; - buildConfigurationList = E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "CarthageExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - English, - en, - Base, - ); - mainGroup = E8645B7B1C7913D600C241AA; - productRefGroup = E8645B851C7913D600C241AA /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8645B831C7913D600C241AA /* CarthageExample */, - E8645B9A1C7913D600C241AA /* CarthageExample WatchKit App */, - E8645BA91C7913D600C241AA /* CarthageExample WatchKit Extension */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8645B821C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645B991C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA81C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8645B801C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645B891C7913D600C241AA /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA61C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645BB11C7913D600C241AA /* InterfaceController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8645B9E1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645B9A1C7913D600C241AA /* CarthageExample WatchKit App */; - targetProxy = E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */; - }; - E8645BAD1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645BA91C7913D600C241AA /* CarthageExample WatchKit Extension */; - targetProxy = E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8645BA01C7913D600C241AA /* Interface.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8645BA11C7913D600C241AA /* Base */, - ); - name = Interface.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8645BB81C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - E8645BB91C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E8645BBB1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = Carthage/Build/watchOS; - INFOPLIST_FILE = "CarthageExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CarthageExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BBC1C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = Carthage/Build/watchOS; - INFOPLIST_FILE = "CarthageExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CarthageExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BBF1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - IBSC_MODULE = CarthageExample_WatchKit_Extension; - INFOPLIST_FILE = "CarthageExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CarthageExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BC01C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - IBSC_MODULE = CarthageExample_WatchKit_Extension; - INFOPLIST_FILE = "CarthageExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CarthageExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BC31C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = CarthageExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CarthageExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - E8645BC41C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = CarthageExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CarthageExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "CarthageExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BB81C7913D600C241AA /* Debug */, - E8645BB91C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CarthageExample WatchKit Extension" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBB1C7913D600C241AA /* Debug */, - E8645BBC1C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CarthageExample WatchKit App" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBF1C7913D600C241AA /* Debug */, - E8645BC01C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "CarthageExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BC31C7913D600C241AA /* Debug */, - E8645BC41C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8645B7C1C7913D600C241AA /* Project object */; -} diff --git a/examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme b/examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme deleted file mode 100644 index a1e8401c34..0000000000 --- a/examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme b/examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme deleted file mode 100644 index 6501635480..0000000000 --- a/examples/installation/watchos/objc/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/objc/CarthageExample/CarthageExample/Info.plist b/examples/installation/watchos/objc/CarthageExample/CarthageExample/Info.plist deleted file mode 100644 index 40c6215d90..0000000000 --- a/examples/installation/watchos/objc/CarthageExample/CarthageExample/Info.plist +++ /dev/null @@ -1,47 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/watchos/objc/CarthageExample/CarthageExample/main.m b/examples/installation/watchos/objc/CarthageExample/CarthageExample/main.m deleted file mode 100644 index 458fcd5151..0000000000 --- a/examples/installation/watchos/objc/CarthageExample/CarthageExample/main.m +++ /dev/null @@ -1,21 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -int main(int argc, char * argv[]) { - return 0; -} diff --git a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit App/Base.lproj/Interface.storyboard b/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit App/Base.lproj/Interface.storyboard deleted file mode 100644 index 6e334f8ac5..0000000000 --- a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit App/Base.lproj/Interface.storyboard +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit App/Info.plist b/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit App/Info.plist deleted file mode 100644 index 954735d0ac..0000000000 --- a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit App/Info.plist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - CocoaPodsExample WatchKit App - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - - WKCompanionAppBundleIdentifier - io.realm.CocoaPodsExample - WKWatchKitApp - - - diff --git a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit Extension/Info.plist b/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit Extension/Info.plist deleted file mode 100644 index d2c533b0a6..0000000000 --- a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit Extension/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - CocoaPodsExample WatchKit Extension - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - XPC! - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - NSExtension - - NSExtensionAttributes - - WKAppBundleIdentifier - io.realm.CocoaPodsExample.watchkitapp - - NSExtensionPointIdentifier - com.apple.watchkit - - RemoteInterfacePrincipalClass - InterfaceController - WKExtensionDelegateClassName - ExtensionDelegate - - diff --git a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit Extension/InterfaceController.h b/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit Extension/InterfaceController.h deleted file mode 100644 index a4f8b06810..0000000000 --- a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit Extension/InterfaceController.h +++ /dev/null @@ -1,22 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -@interface InterfaceController : WKInterfaceController -@end diff --git a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit Extension/InterfaceController.m b/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit Extension/InterfaceController.m deleted file mode 100644 index 4c80d4583b..0000000000 --- a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample WatchKit Extension/InterfaceController.m +++ /dev/null @@ -1,67 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import "InterfaceController.h" - -@interface Counter: RLMObject -@property int count; -@end -@implementation Counter -@end - -@interface InterfaceController () -@property (unsafe_unretained, nonatomic) IBOutlet WKInterfaceButton *button; -@property (nonatomic, strong) Counter *counter; -@property (nonatomic, strong) RLMNotificationToken *token; -@end - -@implementation InterfaceController - -- (instancetype)init -{ - self = [super init]; - if (self) { - self.counter = [[Counter alloc] init]; - RLMRealm *realm = [RLMRealm defaultRealm]; - [realm transactionWithBlock:^{ - [realm addObject:self.counter]; - }]; - } - return self; -} - -- (IBAction)increment { - [self.counter.realm transactionWithBlock:^{ - self.counter.count++; - }]; -} - -- (void)willActivate { - [super willActivate]; - self.token = [self.counter.realm addNotificationBlock:^(NSString * _Nonnull notification, RLMRealm * _Nonnull realm) { - [self.button setTitle:[NSString stringWithFormat:@"%@", @(self.counter.count)]]; - }]; -} - -- (void)didDeactivate { - [self.token invalidate]; - [super didDeactivate]; -} - -@end diff --git a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj b/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj deleted file mode 100644 index 3c9399a9e8..0000000000 --- a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,621 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 48824F3D1FD7D813442E0538 /* Pods_CocoaPodsExample_WatchKit_Extension.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C95BE77D895CA88792F26187 /* Pods_CocoaPodsExample_WatchKit_Extension.framework */; }; - E8645B891C7913D600C241AA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E8645B881C7913D600C241AA /* main.m */; }; - E8645B9C1C7913D600C241AA /* CocoaPodsExample WatchKit App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = E8645B9B1C7913D600C241AA /* CocoaPodsExample WatchKit App.app */; }; - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8645BA01C7913D600C241AA /* Interface.storyboard */; }; - E8645BAB1C7913D600C241AA /* CocoaPodsExample WatchKit Extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = E8645BAA1C7913D600C241AA /* CocoaPodsExample WatchKit Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; - E8645BB11C7913D600C241AA /* InterfaceController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8645BB01C7913D600C241AA /* InterfaceController.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645B9A1C7913D600C241AA; - remoteInfo = "CocoaPodsExample WatchKit App"; - }; - E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645BA91C7913D600C241AA; - remoteInfo = "CocoaPodsExample WatchKit Extension"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E82D95AE1C791A58000717F3 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BBD1C7913D600C241AA /* Embed App Extensions */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 13; - files = ( - E8645BAB1C7913D600C241AA /* CocoaPodsExample WatchKit Extension.appex in Embed App Extensions */, - ); - name = "Embed App Extensions"; - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BC11C7913D600C241AA /* Embed Watch Content */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = "$(CONTENTS_FOLDER_PATH)/Watch"; - dstSubfolderSpec = 16; - files = ( - E8645B9C1C7913D600C241AA /* CocoaPodsExample WatchKit App.app in Embed Watch Content */, - ); - name = "Embed Watch Content"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 1384BD16091C7F5B2208A9BA /* Pods-CocoaPodsExample WatchKit Extension.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample WatchKit Extension.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample WatchKit Extension/Pods-CocoaPodsExample WatchKit Extension.release.xcconfig"; sourceTree = ""; }; - 41C9120472DCD587AA61A675 /* Pods-CocoaPodsExample WatchKit Extension.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample WatchKit Extension.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample WatchKit Extension/Pods-CocoaPodsExample WatchKit Extension.debug.xcconfig"; sourceTree = ""; }; - C95BE77D895CA88792F26187 /* Pods_CocoaPodsExample_WatchKit_Extension.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CocoaPodsExample_WatchKit_Extension.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645B841C7913D600C241AA /* CocoaPodsExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CocoaPodsExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645B881C7913D600C241AA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E8645B981C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645B9B1C7913D600C241AA /* CocoaPodsExample WatchKit App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "CocoaPodsExample WatchKit App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BA11C7913D600C241AA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Interface.storyboard; sourceTree = ""; }; - E8645BA51C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645BAA1C7913D600C241AA /* CocoaPodsExample WatchKit Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "CocoaPodsExample WatchKit Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BAF1C7913D600C241AA /* InterfaceController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = InterfaceController.h; sourceTree = ""; }; - E8645BB01C7913D600C241AA /* InterfaceController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InterfaceController.m; sourceTree = ""; }; - E8645BB71C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8645B811C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA71C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 48824F3D1FD7D813442E0538 /* Pods_CocoaPodsExample_WatchKit_Extension.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - F206819AA6C5E865108CEFFB /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - BE59A43A6B853C8662E4B012 /* Frameworks */ = { - isa = PBXGroup; - children = ( - C95BE77D895CA88792F26187 /* Pods_CocoaPodsExample_WatchKit_Extension.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - E8645B7B1C7913D600C241AA = { - isa = PBXGroup; - children = ( - E8645B861C7913D600C241AA /* CocoaPodsExample */, - E8645B9F1C7913D600C241AA /* CocoaPodsExample WatchKit App */, - E8645BAE1C7913D600C241AA /* CocoaPodsExample WatchKit Extension */, - BE59A43A6B853C8662E4B012 /* Frameworks */, - E902E627E024B826288DC2FA /* Pods */, - E8645B851C7913D600C241AA /* Products */, - ); - sourceTree = ""; - }; - E8645B851C7913D600C241AA /* Products */ = { - isa = PBXGroup; - children = ( - E8645B9B1C7913D600C241AA /* CocoaPodsExample WatchKit App.app */, - E8645BAA1C7913D600C241AA /* CocoaPodsExample WatchKit Extension.appex */, - E8645B841C7913D600C241AA /* CocoaPodsExample.app */, - ); - name = Products; - sourceTree = ""; - }; - E8645B861C7913D600C241AA /* CocoaPodsExample */ = { - isa = PBXGroup; - children = ( - E8645B981C7913D600C241AA /* Info.plist */, - E8645B881C7913D600C241AA /* main.m */, - ); - path = CocoaPodsExample; - sourceTree = ""; - }; - E8645B9F1C7913D600C241AA /* CocoaPodsExample WatchKit App */ = { - isa = PBXGroup; - children = ( - E8645BA51C7913D600C241AA /* Info.plist */, - E8645BA01C7913D600C241AA /* Interface.storyboard */, - ); - path = "CocoaPodsExample WatchKit App"; - sourceTree = ""; - }; - E8645BAE1C7913D600C241AA /* CocoaPodsExample WatchKit Extension */ = { - isa = PBXGroup; - children = ( - E8645BB71C7913D600C241AA /* Info.plist */, - E8645BAF1C7913D600C241AA /* InterfaceController.h */, - E8645BB01C7913D600C241AA /* InterfaceController.m */, - ); - path = "CocoaPodsExample WatchKit Extension"; - sourceTree = ""; - }; - E902E627E024B826288DC2FA /* Pods */ = { - isa = PBXGroup; - children = ( - 41C9120472DCD587AA61A675 /* Pods-CocoaPodsExample WatchKit Extension.debug.xcconfig */, - 1384BD16091C7F5B2208A9BA /* Pods-CocoaPodsExample WatchKit Extension.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8645B831C7913D600C241AA /* CocoaPodsExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */; - buildPhases = ( - E8645B801C7913D600C241AA /* Sources */, - E8645B811C7913D600C241AA /* Frameworks */, - E8645B821C7913D600C241AA /* Resources */, - E8645BC11C7913D600C241AA /* Embed Watch Content */, - ); - buildRules = ( - ); - dependencies = ( - E8645B9E1C7913D600C241AA /* PBXTargetDependency */, - ); - name = CocoaPodsExample; - productName = CocoaPodsExample; - productReference = E8645B841C7913D600C241AA /* CocoaPodsExample.app */; - productType = "com.apple.product-type.application"; - }; - E8645B9A1C7913D600C241AA /* CocoaPodsExample WatchKit App */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CocoaPodsExample WatchKit App" */; - buildPhases = ( - E8645B991C7913D600C241AA /* Resources */, - E8645BBD1C7913D600C241AA /* Embed App Extensions */, - F206819AA6C5E865108CEFFB /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - E8645BAD1C7913D600C241AA /* PBXTargetDependency */, - ); - name = "CocoaPodsExample WatchKit App"; - productName = "CocoaPodsExample WatchKit App"; - productReference = E8645B9B1C7913D600C241AA /* CocoaPodsExample WatchKit App.app */; - productType = "com.apple.product-type.application.watchapp2"; - }; - E8645BA91C7913D600C241AA /* CocoaPodsExample WatchKit Extension */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CocoaPodsExample WatchKit Extension" */; - buildPhases = ( - 74665E8BBC490DCCF9317687 /* [CP] Check Pods Manifest.lock */, - E8645BA61C7913D600C241AA /* Sources */, - E8645BA71C7913D600C241AA /* Frameworks */, - E8645BA81C7913D600C241AA /* Resources */, - E82D95AE1C791A58000717F3 /* Embed Frameworks */, - 7951E2968F200D8F1F14C1C6 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "CocoaPodsExample WatchKit Extension"; - productName = "CocoaPodsExample WatchKit Extension"; - productReference = E8645BAA1C7913D600C241AA /* CocoaPodsExample WatchKit Extension.appex */; - productType = "com.apple.product-type.watchkit2-extension"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8645B7C1C7913D600C241AA /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8645B831C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - E8645B9A1C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - E8645BA91C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - }; - }; - buildConfigurationList = E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "CocoaPodsExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E8645B7B1C7913D600C241AA; - productRefGroup = E8645B851C7913D600C241AA /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8645B831C7913D600C241AA /* CocoaPodsExample */, - E8645B9A1C7913D600C241AA /* CocoaPodsExample WatchKit App */, - E8645BA91C7913D600C241AA /* CocoaPodsExample WatchKit Extension */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8645B821C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645B991C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA81C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 74665E8BBC490DCCF9317687 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsExample WatchKit Extension-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 7951E2968F200D8F1F14C1C6 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExample WatchKit Extension/Pods-CocoaPodsExample WatchKit Extension-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Realm/Realm.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExample WatchKit Extension/Pods-CocoaPodsExample WatchKit Extension-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8645B801C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645B891C7913D600C241AA /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA61C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645BB11C7913D600C241AA /* InterfaceController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8645B9E1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645B9A1C7913D600C241AA /* CocoaPodsExample WatchKit App */; - targetProxy = E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */; - }; - E8645BAD1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645BA91C7913D600C241AA /* CocoaPodsExample WatchKit Extension */; - targetProxy = E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8645BA01C7913D600C241AA /* Interface.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8645BA11C7913D600C241AA /* Base */, - ); - name = Interface.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8645BB81C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - E8645BB91C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E8645BBB1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 41C9120472DCD587AA61A675 /* Pods-CocoaPodsExample WatchKit Extension.debug.xcconfig */; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = "CocoaPodsExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BBC1C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1384BD16091C7F5B2208A9BA /* Pods-CocoaPodsExample WatchKit Extension.release.xcconfig */; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = "CocoaPodsExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BBF1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - IBSC_MODULE = CocoaPodsExample_WatchKit_Extension; - INFOPLIST_FILE = "CocoaPodsExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BC01C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - IBSC_MODULE = CocoaPodsExample_WatchKit_Extension; - INFOPLIST_FILE = "CocoaPodsExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BC31C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - E8645BC41C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BB81C7913D600C241AA /* Debug */, - E8645BB91C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CocoaPodsExample WatchKit Extension" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBB1C7913D600C241AA /* Debug */, - E8645BBC1C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CocoaPodsExample WatchKit App" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBF1C7913D600C241AA /* Debug */, - E8645BC01C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BC31C7913D600C241AA /* Debug */, - E8645BC41C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8645B7C1C7913D600C241AA /* Project object */; -} diff --git a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme b/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme deleted file mode 100644 index d886ef1ea3..0000000000 --- a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme b/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme deleted file mode 100644 index fc7bbb8af8..0000000000 --- a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample/Info.plist b/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample/Info.plist deleted file mode 100644 index 40c6215d90..0000000000 --- a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample/Info.plist +++ /dev/null @@ -1,47 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample/main.m b/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample/main.m deleted file mode 100644 index 458fcd5151..0000000000 --- a/examples/installation/watchos/objc/CocoaPodsExample/CocoaPodsExample/main.m +++ /dev/null @@ -1,21 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -int main(int argc, char * argv[]) { - return 0; -} diff --git a/examples/installation/watchos/objc/CocoaPodsExample/Podfile b/examples/installation/watchos/objc/CocoaPodsExample/Podfile deleted file mode 100644 index 63666117a7..0000000000 --- a/examples/installation/watchos/objc/CocoaPodsExample/Podfile +++ /dev/null @@ -1,15 +0,0 @@ -use_frameworks! -branch = ENV['sha'] - -target 'CocoaPodsExample WatchKit Extension' do - platform :watchos, '4.0' - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - config.build_settings['GCC_GENERATE_DEBUGGING_SYMBOLS'] = 'NO' - end - end -end diff --git a/examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit App/Base.lproj/Interface.storyboard b/examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit App/Base.lproj/Interface.storyboard deleted file mode 100644 index 6e334f8ac5..0000000000 --- a/examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit App/Base.lproj/Interface.storyboard +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit App/Info.plist b/examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit App/Info.plist deleted file mode 100644 index c3f1275a81..0000000000 --- a/examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit App/Info.plist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - DynamicExample WatchKit App - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - - WKCompanionAppBundleIdentifier - io.realm.DynamicExample - WKWatchKitApp - - - diff --git a/examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit Extension/Info.plist b/examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit Extension/Info.plist deleted file mode 100644 index d334b50baa..0000000000 --- a/examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit Extension/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - DynamicExample WatchKit Extension - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - XPC! - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - NSExtension - - NSExtensionAttributes - - WKAppBundleIdentifier - io.realm.DynamicExample.watchkitapp - - NSExtensionPointIdentifier - com.apple.watchkit - - RemoteInterfacePrincipalClass - InterfaceController - WKExtensionDelegateClassName - ExtensionDelegate - - diff --git a/examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit Extension/InterfaceController.h b/examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit Extension/InterfaceController.h deleted file mode 100644 index a4f8b06810..0000000000 --- a/examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit Extension/InterfaceController.h +++ /dev/null @@ -1,22 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -@interface InterfaceController : WKInterfaceController -@end diff --git a/examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit Extension/InterfaceController.m b/examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit Extension/InterfaceController.m deleted file mode 100644 index 4c80d4583b..0000000000 --- a/examples/installation/watchos/objc/DynamicExample/DynamicExample WatchKit Extension/InterfaceController.m +++ /dev/null @@ -1,67 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import "InterfaceController.h" - -@interface Counter: RLMObject -@property int count; -@end -@implementation Counter -@end - -@interface InterfaceController () -@property (unsafe_unretained, nonatomic) IBOutlet WKInterfaceButton *button; -@property (nonatomic, strong) Counter *counter; -@property (nonatomic, strong) RLMNotificationToken *token; -@end - -@implementation InterfaceController - -- (instancetype)init -{ - self = [super init]; - if (self) { - self.counter = [[Counter alloc] init]; - RLMRealm *realm = [RLMRealm defaultRealm]; - [realm transactionWithBlock:^{ - [realm addObject:self.counter]; - }]; - } - return self; -} - -- (IBAction)increment { - [self.counter.realm transactionWithBlock:^{ - self.counter.count++; - }]; -} - -- (void)willActivate { - [super willActivate]; - self.token = [self.counter.realm addNotificationBlock:^(NSString * _Nonnull notification, RLMRealm * _Nonnull realm) { - [self.button setTitle:[NSString stringWithFormat:@"%@", @(self.counter.count)]]; - }]; -} - -- (void)didDeactivate { - [self.token invalidate]; - [super didDeactivate]; -} - -@end diff --git a/examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj b/examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj deleted file mode 100644 index 7440de62eb..0000000000 --- a/examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,548 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - E82D95AC1C791A58000717F3 /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = E82D95A71C7919D9000717F3 /* Realm.xcframework */; }; - E82D95AD1C791A58000717F3 /* Realm.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E82D95A71C7919D9000717F3 /* Realm.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - E8645B891C7913D600C241AA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E8645B881C7913D600C241AA /* main.m */; }; - E8645B9C1C7913D600C241AA /* DynamicExample WatchKit App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = E8645B9B1C7913D600C241AA /* DynamicExample WatchKit App.app */; }; - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8645BA01C7913D600C241AA /* Interface.storyboard */; }; - E8645BAB1C7913D600C241AA /* DynamicExample WatchKit Extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = E8645BAA1C7913D600C241AA /* DynamicExample WatchKit Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; - E8645BB11C7913D600C241AA /* InterfaceController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8645BB01C7913D600C241AA /* InterfaceController.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645B9A1C7913D600C241AA; - remoteInfo = "DynamicExample WatchKit App"; - }; - E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645BA91C7913D600C241AA; - remoteInfo = "DynamicExample WatchKit Extension"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E82D95AE1C791A58000717F3 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - E82D95AD1C791A58000717F3 /* Realm.xcframework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BBD1C7913D600C241AA /* Embed App Extensions */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 13; - files = ( - E8645BAB1C7913D600C241AA /* DynamicExample WatchKit Extension.appex in Embed App Extensions */, - ); - name = "Embed App Extensions"; - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BC11C7913D600C241AA /* Embed Watch Content */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = "$(CONTENTS_FOLDER_PATH)/Watch"; - dstSubfolderSpec = 16; - files = ( - E8645B9C1C7913D600C241AA /* DynamicExample WatchKit App.app in Embed Watch Content */, - ); - name = "Embed Watch Content"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - E82D95A71C7919D9000717F3 /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = "../../../realm-objc-latest/Realm.xcframework"; sourceTree = ""; }; - E8645B841C7913D600C241AA /* DynamicExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DynamicExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645B881C7913D600C241AA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E8645B981C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645B9B1C7913D600C241AA /* DynamicExample WatchKit App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "DynamicExample WatchKit App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BA11C7913D600C241AA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Interface.storyboard; sourceTree = ""; }; - E8645BA51C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645BAA1C7913D600C241AA /* DynamicExample WatchKit Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "DynamicExample WatchKit Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BAF1C7913D600C241AA /* InterfaceController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = InterfaceController.h; sourceTree = ""; }; - E8645BB01C7913D600C241AA /* InterfaceController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InterfaceController.m; sourceTree = ""; }; - E8645BB71C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8645B811C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA71C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - E82D95AC1C791A58000717F3 /* Realm.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - E8645B7B1C7913D600C241AA = { - isa = PBXGroup; - children = ( - E8645B861C7913D600C241AA /* DynamicExample */, - E8645B9F1C7913D600C241AA /* DynamicExample WatchKit App */, - E8645BAE1C7913D600C241AA /* DynamicExample WatchKit Extension */, - E8645B851C7913D600C241AA /* Products */, - E82D95A71C7919D9000717F3 /* Realm.xcframework */, - ); - sourceTree = ""; - }; - E8645B851C7913D600C241AA /* Products */ = { - isa = PBXGroup; - children = ( - E8645B9B1C7913D600C241AA /* DynamicExample WatchKit App.app */, - E8645BAA1C7913D600C241AA /* DynamicExample WatchKit Extension.appex */, - E8645B841C7913D600C241AA /* DynamicExample.app */, - ); - name = Products; - sourceTree = ""; - }; - E8645B861C7913D600C241AA /* DynamicExample */ = { - isa = PBXGroup; - children = ( - E8645B981C7913D600C241AA /* Info.plist */, - E8645B881C7913D600C241AA /* main.m */, - ); - path = DynamicExample; - sourceTree = ""; - }; - E8645B9F1C7913D600C241AA /* DynamicExample WatchKit App */ = { - isa = PBXGroup; - children = ( - E8645BA51C7913D600C241AA /* Info.plist */, - E8645BA01C7913D600C241AA /* Interface.storyboard */, - ); - path = "DynamicExample WatchKit App"; - sourceTree = ""; - }; - E8645BAE1C7913D600C241AA /* DynamicExample WatchKit Extension */ = { - isa = PBXGroup; - children = ( - E8645BB71C7913D600C241AA /* Info.plist */, - E8645BAF1C7913D600C241AA /* InterfaceController.h */, - E8645BB01C7913D600C241AA /* InterfaceController.m */, - ); - path = "DynamicExample WatchKit Extension"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8645B831C7913D600C241AA /* DynamicExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "DynamicExample" */; - buildPhases = ( - E8645B801C7913D600C241AA /* Sources */, - E8645B811C7913D600C241AA /* Frameworks */, - E8645B821C7913D600C241AA /* Resources */, - E8645BC11C7913D600C241AA /* Embed Watch Content */, - ); - buildRules = ( - ); - dependencies = ( - E8645B9E1C7913D600C241AA /* PBXTargetDependency */, - ); - name = DynamicExample; - productName = DynamicExample; - productReference = E8645B841C7913D600C241AA /* DynamicExample.app */; - productType = "com.apple.product-type.application"; - }; - E8645B9A1C7913D600C241AA /* DynamicExample WatchKit App */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "DynamicExample WatchKit App" */; - buildPhases = ( - E8645B991C7913D600C241AA /* Resources */, - E8645BBD1C7913D600C241AA /* Embed App Extensions */, - ); - buildRules = ( - ); - dependencies = ( - E8645BAD1C7913D600C241AA /* PBXTargetDependency */, - ); - name = "DynamicExample WatchKit App"; - productName = "DynamicExample WatchKit App"; - productReference = E8645B9B1C7913D600C241AA /* DynamicExample WatchKit App.app */; - productType = "com.apple.product-type.application.watchapp2"; - }; - E8645BA91C7913D600C241AA /* DynamicExample WatchKit Extension */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "DynamicExample WatchKit Extension" */; - buildPhases = ( - E8645BA61C7913D600C241AA /* Sources */, - E8645BA71C7913D600C241AA /* Frameworks */, - E8645BA81C7913D600C241AA /* Resources */, - E82D95AE1C791A58000717F3 /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "DynamicExample WatchKit Extension"; - productName = "DynamicExample WatchKit Extension"; - productReference = E8645BAA1C7913D600C241AA /* DynamicExample WatchKit Extension.appex */; - productType = "com.apple.product-type.watchkit2-extension"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8645B7C1C7913D600C241AA /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8645B831C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - E8645B9A1C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - E8645BA91C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - }; - }; - buildConfigurationList = E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "DynamicExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E8645B7B1C7913D600C241AA; - productRefGroup = E8645B851C7913D600C241AA /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8645B831C7913D600C241AA /* DynamicExample */, - E8645B9A1C7913D600C241AA /* DynamicExample WatchKit App */, - E8645BA91C7913D600C241AA /* DynamicExample WatchKit Extension */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8645B821C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645B991C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA81C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8645B801C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645B891C7913D600C241AA /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA61C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645BB11C7913D600C241AA /* InterfaceController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8645B9E1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645B9A1C7913D600C241AA /* DynamicExample WatchKit App */; - targetProxy = E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */; - }; - E8645BAD1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645BA91C7913D600C241AA /* DynamicExample WatchKit Extension */; - targetProxy = E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8645BA01C7913D600C241AA /* Interface.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8645BA11C7913D600C241AA /* Base */, - ); - name = Interface.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8645BB81C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - E8645BB91C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E8645BBB1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = "../../../realm-objc-latest/watchos"; - INFOPLIST_FILE = "DynamicExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.DynamicExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BBC1C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = "../../../realm-objc-latest/watchos"; - INFOPLIST_FILE = "DynamicExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.DynamicExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BBF1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - IBSC_MODULE = DynamicExample_WatchKit_Extension; - INFOPLIST_FILE = "DynamicExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.DynamicExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BC01C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - IBSC_MODULE = DynamicExample_WatchKit_Extension; - INFOPLIST_FILE = "DynamicExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.DynamicExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BC31C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = DynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.DynamicExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - E8645BC41C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = DynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.DynamicExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "DynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BB81C7913D600C241AA /* Debug */, - E8645BB91C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "DynamicExample WatchKit Extension" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBB1C7913D600C241AA /* Debug */, - E8645BBC1C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "DynamicExample WatchKit App" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBF1C7913D600C241AA /* Debug */, - E8645BC01C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "DynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BC31C7913D600C241AA /* Debug */, - E8645BC41C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8645B7C1C7913D600C241AA /* Project object */; -} diff --git a/examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme b/examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme deleted file mode 100644 index 6e0981938a..0000000000 --- a/examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme b/examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme deleted file mode 100644 index 573748059d..0000000000 --- a/examples/installation/watchos/objc/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/objc/DynamicExample/DynamicExample/Info.plist b/examples/installation/watchos/objc/DynamicExample/DynamicExample/Info.plist deleted file mode 100644 index 40c6215d90..0000000000 --- a/examples/installation/watchos/objc/DynamicExample/DynamicExample/Info.plist +++ /dev/null @@ -1,47 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/watchos/objc/DynamicExample/DynamicExample/main.m b/examples/installation/watchos/objc/DynamicExample/DynamicExample/main.m deleted file mode 100644 index 458fcd5151..0000000000 --- a/examples/installation/watchos/objc/DynamicExample/DynamicExample/main.m +++ /dev/null @@ -1,21 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -int main(int argc, char * argv[]) { - return 0; -} diff --git a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit App/Base.lproj/Interface.storyboard b/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit App/Base.lproj/Interface.storyboard deleted file mode 100644 index 6e334f8ac5..0000000000 --- a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit App/Base.lproj/Interface.storyboard +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit App/Info.plist b/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit App/Info.plist deleted file mode 100644 index a5d28649c1..0000000000 --- a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit App/Info.plist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - XCFrameworkExample WatchKit App - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - - WKCompanionAppBundleIdentifier - io.realm.XCFrameworkExample - WKWatchKitApp - - - diff --git a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit Extension/Info.plist b/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit Extension/Info.plist deleted file mode 100644 index 9b9f157a54..0000000000 --- a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit Extension/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - XCFrameworkExample WatchKit Extension - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - XPC! - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - NSExtension - - NSExtensionAttributes - - WKAppBundleIdentifier - io.realm.XCFrameworkExample.watchkitapp - - NSExtensionPointIdentifier - com.apple.watchkit - - RemoteInterfacePrincipalClass - InterfaceController - WKExtensionDelegateClassName - ExtensionDelegate - - diff --git a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit Extension/InterfaceController.h b/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit Extension/InterfaceController.h deleted file mode 100644 index a4f8b06810..0000000000 --- a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit Extension/InterfaceController.h +++ /dev/null @@ -1,22 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import -@interface InterfaceController : WKInterfaceController -@end diff --git a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit Extension/InterfaceController.m b/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit Extension/InterfaceController.m deleted file mode 100644 index 4c80d4583b..0000000000 --- a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample WatchKit Extension/InterfaceController.m +++ /dev/null @@ -1,67 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#import -#import "InterfaceController.h" - -@interface Counter: RLMObject -@property int count; -@end -@implementation Counter -@end - -@interface InterfaceController () -@property (unsafe_unretained, nonatomic) IBOutlet WKInterfaceButton *button; -@property (nonatomic, strong) Counter *counter; -@property (nonatomic, strong) RLMNotificationToken *token; -@end - -@implementation InterfaceController - -- (instancetype)init -{ - self = [super init]; - if (self) { - self.counter = [[Counter alloc] init]; - RLMRealm *realm = [RLMRealm defaultRealm]; - [realm transactionWithBlock:^{ - [realm addObject:self.counter]; - }]; - } - return self; -} - -- (IBAction)increment { - [self.counter.realm transactionWithBlock:^{ - self.counter.count++; - }]; -} - -- (void)willActivate { - [super willActivate]; - self.token = [self.counter.realm addNotificationBlock:^(NSString * _Nonnull notification, RLMRealm * _Nonnull realm) { - [self.button setTitle:[NSString stringWithFormat:@"%@", @(self.counter.count)]]; - }]; -} - -- (void)didDeactivate { - [self.token invalidate]; - [super didDeactivate]; -} - -@end diff --git a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj b/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj deleted file mode 100644 index 2709facd0d..0000000000 --- a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,562 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 3FDA0A352319A8330099B474 /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3FDA0A342319A8330099B474 /* Realm.xcframework */; }; - 3FDA0A362319A8330099B474 /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3FDA0A342319A8330099B474 /* Realm.xcframework */; }; - E8645B891C7913D600C241AA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E8645B881C7913D600C241AA /* main.m */; }; - E8645B9C1C7913D600C241AA /* XCFrameworkExample WatchKit App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = E8645B9B1C7913D600C241AA /* XCFrameworkExample WatchKit App.app */; }; - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8645BA01C7913D600C241AA /* Interface.storyboard */; }; - E8645BAB1C7913D600C241AA /* XCFrameworkExample WatchKit Extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = E8645BAA1C7913D600C241AA /* XCFrameworkExample WatchKit Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; - E8645BB11C7913D600C241AA /* InterfaceController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8645BB01C7913D600C241AA /* InterfaceController.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645B9A1C7913D600C241AA; - remoteInfo = "XCFrameworkExample WatchKit App"; - }; - E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645BA91C7913D600C241AA; - remoteInfo = "XCFrameworkExample WatchKit Extension"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E82D95AE1C791A58000717F3 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BBD1C7913D600C241AA /* Embed App Extensions */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 13; - files = ( - E8645BAB1C7913D600C241AA /* XCFrameworkExample WatchKit Extension.appex in Embed App Extensions */, - ); - name = "Embed App Extensions"; - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BC11C7913D600C241AA /* Embed Watch Content */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = "$(CONTENTS_FOLDER_PATH)/Watch"; - dstSubfolderSpec = 16; - files = ( - E8645B9C1C7913D600C241AA /* XCFrameworkExample WatchKit App.app in Embed Watch Content */, - ); - name = "Embed Watch Content"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 3FDA0A342319A8330099B474 /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = "../../../realm-objc-latest/Realm.xcframework"; sourceTree = ""; }; - E8645B841C7913D600C241AA /* XCFrameworkExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = XCFrameworkExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645B881C7913D600C241AA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E8645B981C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645B9B1C7913D600C241AA /* XCFrameworkExample WatchKit App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "XCFrameworkExample WatchKit App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BA11C7913D600C241AA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Interface.storyboard; sourceTree = ""; }; - E8645BA51C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645BAA1C7913D600C241AA /* XCFrameworkExample WatchKit Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "XCFrameworkExample WatchKit Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BAF1C7913D600C241AA /* InterfaceController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = InterfaceController.h; sourceTree = ""; }; - E8645BB01C7913D600C241AA /* InterfaceController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InterfaceController.m; sourceTree = ""; }; - E8645BB71C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8645B811C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3FDA0A352319A8330099B474 /* Realm.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA71C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3FDA0A362319A8330099B474 /* Realm.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - E8645B7B1C7913D600C241AA = { - isa = PBXGroup; - children = ( - E8645B851C7913D600C241AA /* Products */, - E8645B861C7913D600C241AA /* XCFrameworkExample */, - E8645B9F1C7913D600C241AA /* XCFrameworkExample WatchKit App */, - E8645BAE1C7913D600C241AA /* XCFrameworkExample WatchKit Extension */, - 3FDA0A342319A8330099B474 /* Realm.xcframework */, - ); - sourceTree = ""; - }; - E8645B851C7913D600C241AA /* Products */ = { - isa = PBXGroup; - children = ( - E8645B9B1C7913D600C241AA /* XCFrameworkExample WatchKit App.app */, - E8645BAA1C7913D600C241AA /* XCFrameworkExample WatchKit Extension.appex */, - E8645B841C7913D600C241AA /* XCFrameworkExample.app */, - ); - name = Products; - sourceTree = ""; - }; - E8645B861C7913D600C241AA /* XCFrameworkExample */ = { - isa = PBXGroup; - children = ( - E8645B981C7913D600C241AA /* Info.plist */, - E8645B881C7913D600C241AA /* main.m */, - ); - path = XCFrameworkExample; - sourceTree = ""; - }; - E8645B9F1C7913D600C241AA /* XCFrameworkExample WatchKit App */ = { - isa = PBXGroup; - children = ( - E8645BA51C7913D600C241AA /* Info.plist */, - E8645BA01C7913D600C241AA /* Interface.storyboard */, - ); - path = "XCFrameworkExample WatchKit App"; - sourceTree = ""; - }; - E8645BAE1C7913D600C241AA /* XCFrameworkExample WatchKit Extension */ = { - isa = PBXGroup; - children = ( - E8645BB71C7913D600C241AA /* Info.plist */, - E8645BAF1C7913D600C241AA /* InterfaceController.h */, - E8645BB01C7913D600C241AA /* InterfaceController.m */, - ); - path = "XCFrameworkExample WatchKit Extension"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8645B831C7913D600C241AA /* XCFrameworkExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "XCFrameworkExample" */; - buildPhases = ( - E8645B801C7913D600C241AA /* Sources */, - E8645B811C7913D600C241AA /* Frameworks */, - E8645B821C7913D600C241AA /* Resources */, - E8645BC11C7913D600C241AA /* Embed Watch Content */, - ); - buildRules = ( - ); - dependencies = ( - E8645B9E1C7913D600C241AA /* PBXTargetDependency */, - ); - name = XCFrameworkExample; - productName = XCFrameworkExample; - productReference = E8645B841C7913D600C241AA /* XCFrameworkExample.app */; - productType = "com.apple.product-type.application"; - }; - E8645B9A1C7913D600C241AA /* XCFrameworkExample WatchKit App */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "XCFrameworkExample WatchKit App" */; - buildPhases = ( - E8645B991C7913D600C241AA /* Resources */, - E8645BBD1C7913D600C241AA /* Embed App Extensions */, - ); - buildRules = ( - ); - dependencies = ( - E8645BAD1C7913D600C241AA /* PBXTargetDependency */, - ); - name = "XCFrameworkExample WatchKit App"; - productName = "XCFrameworkExample WatchKit App"; - productReference = E8645B9B1C7913D600C241AA /* XCFrameworkExample WatchKit App.app */; - productType = "com.apple.product-type.application.watchapp2"; - }; - E8645BA91C7913D600C241AA /* XCFrameworkExample WatchKit Extension */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "XCFrameworkExample WatchKit Extension" */; - buildPhases = ( - E8645BA61C7913D600C241AA /* Sources */, - E8645BA71C7913D600C241AA /* Frameworks */, - E8645BA81C7913D600C241AA /* Resources */, - E82D95AE1C791A58000717F3 /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "XCFrameworkExample WatchKit Extension"; - productName = "XCFrameworkExample WatchKit Extension"; - productReference = E8645BAA1C7913D600C241AA /* XCFrameworkExample WatchKit Extension.appex */; - productType = "com.apple.product-type.watchkit2-extension"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8645B7C1C7913D600C241AA /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8645B831C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - E8645B9A1C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - E8645BA91C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - }; - }; - buildConfigurationList = E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "XCFrameworkExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E8645B7B1C7913D600C241AA; - productRefGroup = E8645B851C7913D600C241AA /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8645B831C7913D600C241AA /* XCFrameworkExample */, - E8645B9A1C7913D600C241AA /* XCFrameworkExample WatchKit App */, - E8645BA91C7913D600C241AA /* XCFrameworkExample WatchKit Extension */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8645B821C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645B991C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA81C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8645B801C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645B891C7913D600C241AA /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA61C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645BB11C7913D600C241AA /* InterfaceController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8645B9E1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645B9A1C7913D600C241AA /* XCFrameworkExample WatchKit App */; - targetProxy = E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */; - }; - E8645BAD1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645BA91C7913D600C241AA /* XCFrameworkExample WatchKit Extension */; - targetProxy = E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8645BA01C7913D600C241AA /* Interface.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8645BA11C7913D600C241AA /* Base */, - ); - name = Interface.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8645BB81C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - E8645BB91C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E8645BBB1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - INFOPLIST_FILE = "XCFrameworkExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.XCFrameworkExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BBC1C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - INFOPLIST_FILE = "XCFrameworkExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.XCFrameworkExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BBF1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - IBSC_MODULE = XCFrameworkExample_WatchKit_Extension; - INFOPLIST_FILE = "XCFrameworkExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.XCFrameworkExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BC01C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - IBSC_MODULE = XCFrameworkExample_WatchKit_Extension; - INFOPLIST_FILE = "XCFrameworkExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.XCFrameworkExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BC31C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = XCFrameworkExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.XCFrameworkExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - E8645BC41C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = XCFrameworkExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.XCFrameworkExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "XCFrameworkExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BB81C7913D600C241AA /* Debug */, - E8645BB91C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "XCFrameworkExample WatchKit Extension" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBB1C7913D600C241AA /* Debug */, - E8645BBC1C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "XCFrameworkExample WatchKit App" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBF1C7913D600C241AA /* Debug */, - E8645BC01C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "XCFrameworkExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BC31C7913D600C241AA /* Debug */, - E8645BC41C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8645B7C1C7913D600C241AA /* Project object */; -} diff --git a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme b/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme deleted file mode 100644 index 07b38353dc..0000000000 --- a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme b/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme deleted file mode 100644 index f9e8aa1b26..0000000000 --- a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample/Info.plist b/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample/Info.plist deleted file mode 100644 index 40c6215d90..0000000000 --- a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample/Info.plist +++ /dev/null @@ -1,47 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample/main.m b/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample/main.m deleted file mode 100644 index 5b26297de8..0000000000 --- a/examples/installation/watchos/objc/XCFrameworkExample/XCFrameworkExample/main.m +++ /dev/null @@ -1,29 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -#include - -@interface Model : RLMObject -@property (nonatomic) int value; -@end -@implementation Model -@end - -int main(int argc, char * argv[]) { - return 0; -} diff --git a/examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit App/Base.lproj/Interface.storyboard b/examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit App/Base.lproj/Interface.storyboard deleted file mode 100644 index c946d94c8f..0000000000 --- a/examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit App/Base.lproj/Interface.storyboard +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit App/Info.plist b/examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit App/Info.plist deleted file mode 100644 index 29f4a543a5..0000000000 --- a/examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit App/Info.plist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - CarthageExample WatchKit App - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - - WKCompanionAppBundleIdentifier - io.realm.CarthageExample - WKWatchKitApp - - - diff --git a/examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit Extension/Info.plist b/examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit Extension/Info.plist deleted file mode 100644 index 51711a49ec..0000000000 --- a/examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit Extension/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - CarthageExample WatchKit Extension - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - XPC! - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - NSExtension - - NSExtensionAttributes - - WKAppBundleIdentifier - io.realm.CarthageExample.watchkitapp - - NSExtensionPointIdentifier - com.apple.watchkit - - RemoteInterfacePrincipalClass - InterfaceController - WKExtensionDelegateClassName - ExtensionDelegate - - diff --git a/examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit Extension/InterfaceController.swift b/examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit Extension/InterfaceController.swift deleted file mode 100644 index cf779dd7bf..0000000000 --- a/examples/installation/watchos/swift/CarthageExample/CarthageExample WatchKit Extension/InterfaceController.swift +++ /dev/null @@ -1,56 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import Foundation -import WatchKit -import RealmSwift - -class Counter: Object { - @objc dynamic var count = 0 -} - -class InterfaceController: WKInterfaceController { - @IBOutlet var button: WKInterfaceButton! - let counter: Counter - var token: NotificationToken! = nil - - override init() { - counter = Counter() - super.init() - let realm = try! Realm() - try! realm.write { - realm.add(counter) - } - } - - @IBAction func increment() { - try! counter.realm!.write { counter.count += 1 } - } - - override func willActivate() { - super.willActivate() - token = counter.realm!.observe { [unowned self] _, _ in - self.button.setTitle("\(self.counter.count)") - } - } - - override func didDeactivate() { - token.invalidate() - super.didDeactivate() - } -} diff --git a/examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj b/examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj deleted file mode 100644 index 689283349f..0000000000 --- a/examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,583 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 3F45204E2914929A008F07AD /* RealmSwift.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F45204C2914929A008F07AD /* RealmSwift.xcframework */; }; - 3F45204F2914929A008F07AD /* RealmSwift.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3F45204C2914929A008F07AD /* RealmSwift.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 3F4520502914929A008F07AD /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F45204D2914929A008F07AD /* Realm.xcframework */; }; - 3F4520512914929A008F07AD /* Realm.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3F45204D2914929A008F07AD /* Realm.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - E806E98A1C7921FE00C5C9A8 /* InterfaceController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E806E9891C7921FE00C5C9A8 /* InterfaceController.swift */; }; - E8645B891C7913D600C241AA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E8645B881C7913D600C241AA /* main.m */; }; - E8645B9C1C7913D600C241AA /* CarthageExample WatchKit App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = E8645B9B1C7913D600C241AA /* CarthageExample WatchKit App.app */; }; - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8645BA01C7913D600C241AA /* Interface.storyboard */; }; - E8645BAB1C7913D600C241AA /* CarthageExample WatchKit Extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = E8645BAA1C7913D600C241AA /* CarthageExample WatchKit Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645B9A1C7913D600C241AA; - remoteInfo = "CarthageExample WatchKit App"; - }; - E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645BA91C7913D600C241AA; - remoteInfo = "CarthageExample WatchKit Extension"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 3F4520522914929A008F07AD /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 3F45204F2914929A008F07AD /* RealmSwift.xcframework in Embed Frameworks */, - 3F4520512914929A008F07AD /* Realm.xcframework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BBD1C7913D600C241AA /* Embed App Extensions */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 13; - files = ( - E8645BAB1C7913D600C241AA /* CarthageExample WatchKit Extension.appex in Embed App Extensions */, - ); - name = "Embed App Extensions"; - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BC11C7913D600C241AA /* Embed Watch Content */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = "$(CONTENTS_FOLDER_PATH)/Watch"; - dstSubfolderSpec = 16; - files = ( - E8645B9C1C7913D600C241AA /* CarthageExample WatchKit App.app in Embed Watch Content */, - ); - name = "Embed Watch Content"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 3F45204C2914929A008F07AD /* RealmSwift.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = RealmSwift.xcframework; path = Carthage/Build/RealmSwift.xcframework; sourceTree = ""; }; - 3F45204D2914929A008F07AD /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = Carthage/Build/Realm.xcframework; sourceTree = ""; }; - E806E9891C7921FE00C5C9A8 /* InterfaceController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InterfaceController.swift; sourceTree = ""; }; - E8645B841C7913D600C241AA /* CarthageExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CarthageExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645B881C7913D600C241AA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E8645B981C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645B9B1C7913D600C241AA /* CarthageExample WatchKit App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "CarthageExample WatchKit App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BA11C7913D600C241AA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Interface.storyboard; sourceTree = ""; }; - E8645BA51C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645BAA1C7913D600C241AA /* CarthageExample WatchKit Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "CarthageExample WatchKit Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BB71C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8645B811C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA71C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3F45204E2914929A008F07AD /* RealmSwift.xcframework in Frameworks */, - 3F4520502914929A008F07AD /* Realm.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 3F45204B2914929A008F07AD /* Frameworks */ = { - isa = PBXGroup; - children = ( - 3F45204D2914929A008F07AD /* Realm.xcframework */, - 3F45204C2914929A008F07AD /* RealmSwift.xcframework */, - ); - name = Frameworks; - sourceTree = ""; - }; - E8645B7B1C7913D600C241AA = { - isa = PBXGroup; - children = ( - E8645B861C7913D600C241AA /* CarthageExample */, - E8645B9F1C7913D600C241AA /* CarthageExample WatchKit App */, - E8645BAE1C7913D600C241AA /* CarthageExample WatchKit Extension */, - E8645B851C7913D600C241AA /* Products */, - 3F45204B2914929A008F07AD /* Frameworks */, - ); - sourceTree = ""; - }; - E8645B851C7913D600C241AA /* Products */ = { - isa = PBXGroup; - children = ( - E8645B9B1C7913D600C241AA /* CarthageExample WatchKit App.app */, - E8645BAA1C7913D600C241AA /* CarthageExample WatchKit Extension.appex */, - E8645B841C7913D600C241AA /* CarthageExample.app */, - ); - name = Products; - sourceTree = ""; - }; - E8645B861C7913D600C241AA /* CarthageExample */ = { - isa = PBXGroup; - children = ( - E8645B981C7913D600C241AA /* Info.plist */, - E8645B881C7913D600C241AA /* main.m */, - ); - path = CarthageExample; - sourceTree = ""; - }; - E8645B9F1C7913D600C241AA /* CarthageExample WatchKit App */ = { - isa = PBXGroup; - children = ( - E8645BA51C7913D600C241AA /* Info.plist */, - E8645BA01C7913D600C241AA /* Interface.storyboard */, - ); - path = "CarthageExample WatchKit App"; - sourceTree = ""; - }; - E8645BAE1C7913D600C241AA /* CarthageExample WatchKit Extension */ = { - isa = PBXGroup; - children = ( - E8645BB71C7913D600C241AA /* Info.plist */, - E806E9891C7921FE00C5C9A8 /* InterfaceController.swift */, - ); - path = "CarthageExample WatchKit Extension"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8645B831C7913D600C241AA /* CarthageExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "CarthageExample" */; - buildPhases = ( - E8645B801C7913D600C241AA /* Sources */, - E8645B811C7913D600C241AA /* Frameworks */, - E8645B821C7913D600C241AA /* Resources */, - E8645BC11C7913D600C241AA /* Embed Watch Content */, - ); - buildRules = ( - ); - dependencies = ( - E8645B9E1C7913D600C241AA /* PBXTargetDependency */, - ); - name = CarthageExample; - productName = CarthageExample; - productReference = E8645B841C7913D600C241AA /* CarthageExample.app */; - productType = "com.apple.product-type.application"; - }; - E8645B9A1C7913D600C241AA /* CarthageExample WatchKit App */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CarthageExample WatchKit App" */; - buildPhases = ( - E8645B991C7913D600C241AA /* Resources */, - E8645BBD1C7913D600C241AA /* Embed App Extensions */, - ); - buildRules = ( - ); - dependencies = ( - E8645BAD1C7913D600C241AA /* PBXTargetDependency */, - ); - name = "CarthageExample WatchKit App"; - productName = "CarthageExample WatchKit App"; - productReference = E8645B9B1C7913D600C241AA /* CarthageExample WatchKit App.app */; - productType = "com.apple.product-type.application.watchapp2"; - }; - E8645BA91C7913D600C241AA /* CarthageExample WatchKit Extension */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CarthageExample WatchKit Extension" */; - buildPhases = ( - E8645BA61C7913D600C241AA /* Sources */, - E8645BA71C7913D600C241AA /* Frameworks */, - E8645BA81C7913D600C241AA /* Resources */, - 3F4520522914929A008F07AD /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "CarthageExample WatchKit Extension"; - productName = "CarthageExample WatchKit Extension"; - productReference = E8645BAA1C7913D600C241AA /* CarthageExample WatchKit Extension.appex */; - productType = "com.apple.product-type.watchkit2-extension"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8645B7C1C7913D600C241AA /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8645B831C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - E8645B9A1C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - E8645BA91C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - }; - }; - buildConfigurationList = E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "CarthageExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - English, - en, - Base, - ); - mainGroup = E8645B7B1C7913D600C241AA; - productRefGroup = E8645B851C7913D600C241AA /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8645B831C7913D600C241AA /* CarthageExample */, - E8645B9A1C7913D600C241AA /* CarthageExample WatchKit App */, - E8645BA91C7913D600C241AA /* CarthageExample WatchKit Extension */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8645B821C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645B991C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA81C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8645B801C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645B891C7913D600C241AA /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA61C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E806E98A1C7921FE00C5C9A8 /* InterfaceController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8645B9E1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645B9A1C7913D600C241AA /* CarthageExample WatchKit App */; - targetProxy = E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */; - }; - E8645BAD1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645BA91C7913D600C241AA /* CarthageExample WatchKit Extension */; - targetProxy = E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8645BA01C7913D600C241AA /* Interface.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8645BA11C7913D600C241AA /* Base */, - ); - name = Interface.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8645BB81C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - E8645BB91C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E8645BBB1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - FRAMEWORK_SEARCH_PATHS = Carthage/Build/watchOS; - INFOPLIST_FILE = "CarthageExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CarthageExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BBC1C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - FRAMEWORK_SEARCH_PATHS = Carthage/Build/watchOS; - INFOPLIST_FILE = "CarthageExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CarthageExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BBF1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - IBSC_MODULE = CarthageExample_WatchKit_Extension; - INFOPLIST_FILE = "CarthageExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CarthageExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BC01C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - IBSC_MODULE = CarthageExample_WatchKit_Extension; - INFOPLIST_FILE = "CarthageExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CarthageExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BC31C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = CarthageExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CarthageExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - E8645BC41C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = CarthageExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CarthageExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "CarthageExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BB81C7913D600C241AA /* Debug */, - E8645BB91C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CarthageExample WatchKit Extension" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBB1C7913D600C241AA /* Debug */, - E8645BBC1C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CarthageExample WatchKit App" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBF1C7913D600C241AA /* Debug */, - E8645BC01C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "CarthageExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BC31C7913D600C241AA /* Debug */, - E8645BC41C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8645B7C1C7913D600C241AA /* Project object */; -} diff --git a/examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme b/examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme deleted file mode 100644 index a1e8401c34..0000000000 --- a/examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/CarthageExample.xcscheme +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme b/examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme deleted file mode 100644 index 6501635480..0000000000 --- a/examples/installation/watchos/swift/CarthageExample/CarthageExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/swift/CarthageExample/CarthageExample/Info.plist b/examples/installation/watchos/swift/CarthageExample/CarthageExample/Info.plist deleted file mode 100644 index 40c6215d90..0000000000 --- a/examples/installation/watchos/swift/CarthageExample/CarthageExample/Info.plist +++ /dev/null @@ -1,47 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/watchos/swift/CarthageExample/CarthageExample/main.m b/examples/installation/watchos/swift/CarthageExample/CarthageExample/main.m deleted file mode 100644 index 458fcd5151..0000000000 --- a/examples/installation/watchos/swift/CarthageExample/CarthageExample/main.m +++ /dev/null @@ -1,21 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -int main(int argc, char * argv[]) { - return 0; -} diff --git a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit App/Base.lproj/Interface.storyboard b/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit App/Base.lproj/Interface.storyboard deleted file mode 100644 index 1aa3873f82..0000000000 --- a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit App/Base.lproj/Interface.storyboard +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit App/Info.plist b/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit App/Info.plist deleted file mode 100644 index 954735d0ac..0000000000 --- a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit App/Info.plist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - CocoaPodsExample WatchKit App - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - - WKCompanionAppBundleIdentifier - io.realm.CocoaPodsExample - WKWatchKitApp - - - diff --git a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit Extension/Info.plist b/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit Extension/Info.plist deleted file mode 100644 index d2c533b0a6..0000000000 --- a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit Extension/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - CocoaPodsExample WatchKit Extension - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - XPC! - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - NSExtension - - NSExtensionAttributes - - WKAppBundleIdentifier - io.realm.CocoaPodsExample.watchkitapp - - NSExtensionPointIdentifier - com.apple.watchkit - - RemoteInterfacePrincipalClass - InterfaceController - WKExtensionDelegateClassName - ExtensionDelegate - - diff --git a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit Extension/InterfaceController.swift b/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit Extension/InterfaceController.swift deleted file mode 100644 index cf779dd7bf..0000000000 --- a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample WatchKit Extension/InterfaceController.swift +++ /dev/null @@ -1,56 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import Foundation -import WatchKit -import RealmSwift - -class Counter: Object { - @objc dynamic var count = 0 -} - -class InterfaceController: WKInterfaceController { - @IBOutlet var button: WKInterfaceButton! - let counter: Counter - var token: NotificationToken! = nil - - override init() { - counter = Counter() - super.init() - let realm = try! Realm() - try! realm.write { - realm.add(counter) - } - } - - @IBAction func increment() { - try! counter.realm!.write { counter.count += 1 } - } - - override func willActivate() { - super.willActivate() - token = counter.realm!.observe { [unowned self] _, _ in - self.button.setTitle("\(self.counter.count)") - } - } - - override func didDeactivate() { - token.invalidate() - super.didDeactivate() - } -} diff --git a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj b/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj deleted file mode 100644 index 52c7055d41..0000000000 --- a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,627 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - D26EA716ECDD1CDDB1FACAB6 /* Pods_CocoaPodsExample_WatchKit_Extension.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EB6F27BF57298B95B7496718 /* Pods_CocoaPodsExample_WatchKit_Extension.framework */; }; - E806E98A1C7921FE00C5C9A8 /* InterfaceController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E806E9891C7921FE00C5C9A8 /* InterfaceController.swift */; }; - E8645B891C7913D600C241AA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E8645B881C7913D600C241AA /* main.m */; }; - E8645B9C1C7913D600C241AA /* CocoaPodsExample WatchKit App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = E8645B9B1C7913D600C241AA /* CocoaPodsExample WatchKit App.app */; }; - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8645BA01C7913D600C241AA /* Interface.storyboard */; }; - E8645BAB1C7913D600C241AA /* CocoaPodsExample WatchKit Extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = E8645BAA1C7913D600C241AA /* CocoaPodsExample WatchKit Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645B9A1C7913D600C241AA; - remoteInfo = "CocoaPodsExample WatchKit App"; - }; - E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645BA91C7913D600C241AA; - remoteInfo = "CocoaPodsExample WatchKit Extension"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E8645BBD1C7913D600C241AA /* Embed App Extensions */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 13; - files = ( - E8645BAB1C7913D600C241AA /* CocoaPodsExample WatchKit Extension.appex in Embed App Extensions */, - ); - name = "Embed App Extensions"; - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BC11C7913D600C241AA /* Embed Watch Content */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = "$(CONTENTS_FOLDER_PATH)/Watch"; - dstSubfolderSpec = 16; - files = ( - E8645B9C1C7913D600C241AA /* CocoaPodsExample WatchKit App.app in Embed Watch Content */, - ); - name = "Embed Watch Content"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 519BD935439568BC2D0A6720 /* Pods-CocoaPodsExample WatchKit Extension.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample WatchKit Extension.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample WatchKit Extension/Pods-CocoaPodsExample WatchKit Extension.release.xcconfig"; sourceTree = ""; }; - E0FA897D5F5D1D4371811311 /* Pods-CocoaPodsExample WatchKit Extension.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPodsExample WatchKit Extension.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPodsExample WatchKit Extension/Pods-CocoaPodsExample WatchKit Extension.debug.xcconfig"; sourceTree = ""; }; - E806E9891C7921FE00C5C9A8 /* InterfaceController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InterfaceController.swift; sourceTree = ""; }; - E8645B841C7913D600C241AA /* CocoaPodsExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CocoaPodsExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645B881C7913D600C241AA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E8645B981C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645B9B1C7913D600C241AA /* CocoaPodsExample WatchKit App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "CocoaPodsExample WatchKit App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BA11C7913D600C241AA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Interface.storyboard; sourceTree = ""; }; - E8645BA51C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645BAA1C7913D600C241AA /* CocoaPodsExample WatchKit Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "CocoaPodsExample WatchKit Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BB71C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - EB6F27BF57298B95B7496718 /* Pods_CocoaPodsExample_WatchKit_Extension.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CocoaPodsExample_WatchKit_Extension.framework; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 401941BCA573B683139D196B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645B811C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA71C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - D26EA716ECDD1CDDB1FACAB6 /* Pods_CocoaPodsExample_WatchKit_Extension.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 7109EA92DB1087B4447E838F /* Pods */ = { - isa = PBXGroup; - children = ( - E0FA897D5F5D1D4371811311 /* Pods-CocoaPodsExample WatchKit Extension.debug.xcconfig */, - 519BD935439568BC2D0A6720 /* Pods-CocoaPodsExample WatchKit Extension.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; - C37AE0E9D90B6BAE7A91280A /* Frameworks */ = { - isa = PBXGroup; - children = ( - EB6F27BF57298B95B7496718 /* Pods_CocoaPodsExample_WatchKit_Extension.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - E8645B7B1C7913D600C241AA = { - isa = PBXGroup; - children = ( - E8645B861C7913D600C241AA /* CocoaPodsExample */, - E8645B9F1C7913D600C241AA /* CocoaPodsExample WatchKit App */, - E8645BAE1C7913D600C241AA /* CocoaPodsExample WatchKit Extension */, - C37AE0E9D90B6BAE7A91280A /* Frameworks */, - 7109EA92DB1087B4447E838F /* Pods */, - E8645B851C7913D600C241AA /* Products */, - ); - sourceTree = ""; - }; - E8645B851C7913D600C241AA /* Products */ = { - isa = PBXGroup; - children = ( - E8645B9B1C7913D600C241AA /* CocoaPodsExample WatchKit App.app */, - E8645BAA1C7913D600C241AA /* CocoaPodsExample WatchKit Extension.appex */, - E8645B841C7913D600C241AA /* CocoaPodsExample.app */, - ); - name = Products; - sourceTree = ""; - }; - E8645B861C7913D600C241AA /* CocoaPodsExample */ = { - isa = PBXGroup; - children = ( - E8645B981C7913D600C241AA /* Info.plist */, - E8645B881C7913D600C241AA /* main.m */, - ); - path = CocoaPodsExample; - sourceTree = ""; - }; - E8645B9F1C7913D600C241AA /* CocoaPodsExample WatchKit App */ = { - isa = PBXGroup; - children = ( - E8645BA51C7913D600C241AA /* Info.plist */, - E8645BA01C7913D600C241AA /* Interface.storyboard */, - ); - path = "CocoaPodsExample WatchKit App"; - sourceTree = ""; - }; - E8645BAE1C7913D600C241AA /* CocoaPodsExample WatchKit Extension */ = { - isa = PBXGroup; - children = ( - E8645BB71C7913D600C241AA /* Info.plist */, - E806E9891C7921FE00C5C9A8 /* InterfaceController.swift */, - ); - path = "CocoaPodsExample WatchKit Extension"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8645B831C7913D600C241AA /* CocoaPodsExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */; - buildPhases = ( - E8645B801C7913D600C241AA /* Sources */, - E8645B811C7913D600C241AA /* Frameworks */, - E8645B821C7913D600C241AA /* Resources */, - E8645BC11C7913D600C241AA /* Embed Watch Content */, - ); - buildRules = ( - ); - dependencies = ( - E8645B9E1C7913D600C241AA /* PBXTargetDependency */, - ); - name = CocoaPodsExample; - productName = CocoaPodsExample; - productReference = E8645B841C7913D600C241AA /* CocoaPodsExample.app */; - productType = "com.apple.product-type.application"; - }; - E8645B9A1C7913D600C241AA /* CocoaPodsExample WatchKit App */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CocoaPodsExample WatchKit App" */; - buildPhases = ( - E8645B991C7913D600C241AA /* Resources */, - E8645BBD1C7913D600C241AA /* Embed App Extensions */, - 401941BCA573B683139D196B /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - E8645BAD1C7913D600C241AA /* PBXTargetDependency */, - ); - name = "CocoaPodsExample WatchKit App"; - productName = "CocoaPodsExample WatchKit App"; - productReference = E8645B9B1C7913D600C241AA /* CocoaPodsExample WatchKit App.app */; - productType = "com.apple.product-type.application.watchapp2"; - }; - E8645BA91C7913D600C241AA /* CocoaPodsExample WatchKit Extension */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CocoaPodsExample WatchKit Extension" */; - buildPhases = ( - F4B66E2D18C858408237A5D8 /* [CP] Check Pods Manifest.lock */, - E8645BA61C7913D600C241AA /* Sources */, - E8645BA71C7913D600C241AA /* Frameworks */, - E8645BA81C7913D600C241AA /* Resources */, - 2B0A7EAA6DD976230E6D0DC6 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "CocoaPodsExample WatchKit Extension"; - productName = "CocoaPodsExample WatchKit Extension"; - productReference = E8645BAA1C7913D600C241AA /* CocoaPodsExample WatchKit Extension.appex */; - productType = "com.apple.product-type.watchkit2-extension"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8645B7C1C7913D600C241AA /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8645B831C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - LastSwiftMigration = 0800; - }; - E8645B9A1C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - LastSwiftMigration = 0800; - }; - E8645BA91C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - LastSwiftMigration = 1020; - }; - }; - }; - buildConfigurationList = E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "CocoaPodsExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E8645B7B1C7913D600C241AA; - productRefGroup = E8645B851C7913D600C241AA /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8645B831C7913D600C241AA /* CocoaPodsExample */, - E8645B9A1C7913D600C241AA /* CocoaPodsExample WatchKit App */, - E8645BA91C7913D600C241AA /* CocoaPodsExample WatchKit Extension */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8645B821C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645B991C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA81C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 2B0A7EAA6DD976230E6D0DC6 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExample WatchKit Extension/Pods-CocoaPodsExample WatchKit Extension-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Realm/Realm.framework", - "${BUILT_PRODUCTS_DIR}/RealmSwift/RealmSwift.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RealmSwift.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CocoaPodsExample WatchKit Extension/Pods-CocoaPodsExample WatchKit Extension-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - F4B66E2D18C858408237A5D8 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-CocoaPodsExample WatchKit Extension-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8645B801C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645B891C7913D600C241AA /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA61C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E806E98A1C7921FE00C5C9A8 /* InterfaceController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8645B9E1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645B9A1C7913D600C241AA /* CocoaPodsExample WatchKit App */; - targetProxy = E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */; - }; - E8645BAD1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645BA91C7913D600C241AA /* CocoaPodsExample WatchKit Extension */; - targetProxy = E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8645BA01C7913D600C241AA /* Interface.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8645BA11C7913D600C241AA /* Base */, - ); - name = Interface.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8645BB81C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - E8645BB91C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E8645BBB1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E0FA897D5F5D1D4371811311 /* Pods-CocoaPodsExample WatchKit Extension.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CLANG_ENABLE_MODULES = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = "CocoaPodsExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BBC1C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 519BD935439568BC2D0A6720 /* Pods-CocoaPodsExample WatchKit Extension.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CLANG_ENABLE_MODULES = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = "CocoaPodsExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BBF1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - IBSC_MODULE = CocoaPodsExample_WatchKit_Extension; - INFOPLIST_FILE = "CocoaPodsExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BC01C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - IBSC_MODULE = CocoaPodsExample_WatchKit_Extension; - INFOPLIST_FILE = "CocoaPodsExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BC31C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - E8645BC41C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = CocoaPodsExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.CocoaPodsExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BB81C7913D600C241AA /* Debug */, - E8645BB91C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CocoaPodsExample WatchKit Extension" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBB1C7913D600C241AA /* Debug */, - E8645BBC1C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "CocoaPodsExample WatchKit App" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBF1C7913D600C241AA /* Debug */, - E8645BC01C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "CocoaPodsExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BC31C7913D600C241AA /* Debug */, - E8645BC41C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8645B7C1C7913D600C241AA /* Project object */; -} diff --git a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme b/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme deleted file mode 100644 index d886ef1ea3..0000000000 --- a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/CocoaPodsExample.xcscheme +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme b/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme deleted file mode 100644 index fc7bbb8af8..0000000000 --- a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample/Info.plist b/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample/Info.plist deleted file mode 100644 index 40c6215d90..0000000000 --- a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample/Info.plist +++ /dev/null @@ -1,47 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample/main.m b/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample/main.m deleted file mode 100644 index 458fcd5151..0000000000 --- a/examples/installation/watchos/swift/CocoaPodsExample/CocoaPodsExample/main.m +++ /dev/null @@ -1,21 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -int main(int argc, char * argv[]) { - return 0; -} diff --git a/examples/installation/watchos/swift/CocoaPodsExample/Podfile b/examples/installation/watchos/swift/CocoaPodsExample/Podfile deleted file mode 100644 index 398ca058da..0000000000 --- a/examples/installation/watchos/swift/CocoaPodsExample/Podfile +++ /dev/null @@ -1,16 +0,0 @@ -use_frameworks! -branch = ENV['sha'] - -target 'CocoaPodsExample WatchKit Extension' do - platform :watchos, '4.0' - pod 'Realm', git: 'https://github.com/realm/realm-swift.git', branch: branch - pod 'RealmSwift', git: 'https://github.com/realm/realm-swift.git', branch: branch -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - config.build_settings['GCC_GENERATE_DEBUGGING_SYMBOLS'] = 'NO' - end - end -end diff --git a/examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit App/Base.lproj/Interface.storyboard b/examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit App/Base.lproj/Interface.storyboard deleted file mode 100644 index 44db894eaf..0000000000 --- a/examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit App/Base.lproj/Interface.storyboard +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit App/Info.plist b/examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit App/Info.plist deleted file mode 100644 index c3f1275a81..0000000000 --- a/examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit App/Info.plist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - DynamicExample WatchKit App - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - - WKCompanionAppBundleIdentifier - io.realm.DynamicExample - WKWatchKitApp - - - diff --git a/examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit Extension/Info.plist b/examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit Extension/Info.plist deleted file mode 100644 index d334b50baa..0000000000 --- a/examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit Extension/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - DynamicExample WatchKit Extension - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - XPC! - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - NSExtension - - NSExtensionAttributes - - WKAppBundleIdentifier - io.realm.DynamicExample.watchkitapp - - NSExtensionPointIdentifier - com.apple.watchkit - - RemoteInterfacePrincipalClass - InterfaceController - WKExtensionDelegateClassName - ExtensionDelegate - - diff --git a/examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit Extension/InterfaceController.swift b/examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit Extension/InterfaceController.swift deleted file mode 100644 index cf779dd7bf..0000000000 --- a/examples/installation/watchos/swift/DynamicExample/DynamicExample WatchKit Extension/InterfaceController.swift +++ /dev/null @@ -1,56 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import Foundation -import WatchKit -import RealmSwift - -class Counter: Object { - @objc dynamic var count = 0 -} - -class InterfaceController: WKInterfaceController { - @IBOutlet var button: WKInterfaceButton! - let counter: Counter - var token: NotificationToken! = nil - - override init() { - counter = Counter() - super.init() - let realm = try! Realm() - try! realm.write { - realm.add(counter) - } - } - - @IBAction func increment() { - try! counter.realm!.write { counter.count += 1 } - } - - override func willActivate() { - super.willActivate() - token = counter.realm!.observe { [unowned self] _, _ in - self.button.setTitle("\(self.counter.count)") - } - } - - override func didDeactivate() { - token.invalidate() - super.didDeactivate() - } -} diff --git a/examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj b/examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj deleted file mode 100644 index 33640460ca..0000000000 --- a/examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,561 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - E806E98A1C7921FE00C5C9A8 /* InterfaceController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E806E9891C7921FE00C5C9A8 /* InterfaceController.swift */; }; - E82D95AC1C791A58000717F3 /* Realm.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = E82D95A71C7919D9000717F3 /* Realm.xcframework */; }; - E82D95AD1C791A58000717F3 /* Realm.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E82D95A71C7919D9000717F3 /* Realm.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - E8645B891C7913D600C241AA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E8645B881C7913D600C241AA /* main.m */; }; - E8645B9C1C7913D600C241AA /* DynamicExample WatchKit App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = E8645B9B1C7913D600C241AA /* DynamicExample WatchKit App.app */; }; - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8645BA01C7913D600C241AA /* Interface.storyboard */; }; - E8645BAB1C7913D600C241AA /* DynamicExample WatchKit Extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = E8645BAA1C7913D600C241AA /* DynamicExample WatchKit Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; - E8F651881C79248400D8E330 /* RealmSwift.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = E8F651861C79234200D8E330 /* RealmSwift.xcframework */; }; - E8F651891C79248400D8E330 /* RealmSwift.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E8F651861C79234200D8E330 /* RealmSwift.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645B9A1C7913D600C241AA; - remoteInfo = "DynamicExample WatchKit App"; - }; - E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645BA91C7913D600C241AA; - remoteInfo = "DynamicExample WatchKit Extension"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E82D95AE1C791A58000717F3 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - E82D95AD1C791A58000717F3 /* Realm.xcframework in Embed Frameworks */, - E8F651891C79248400D8E330 /* RealmSwift.xcframework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BBD1C7913D600C241AA /* Embed App Extensions */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 13; - files = ( - E8645BAB1C7913D600C241AA /* DynamicExample WatchKit Extension.appex in Embed App Extensions */, - ); - name = "Embed App Extensions"; - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BC11C7913D600C241AA /* Embed Watch Content */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = "$(CONTENTS_FOLDER_PATH)/Watch"; - dstSubfolderSpec = 16; - files = ( - E8645B9C1C7913D600C241AA /* DynamicExample WatchKit App.app in Embed Watch Content */, - ); - name = "Embed Watch Content"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - E806E9891C7921FE00C5C9A8 /* InterfaceController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InterfaceController.swift; sourceTree = ""; }; - E82D95A71C7919D9000717F3 /* Realm.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Realm.xcframework; path = "../../../realm-swift-latest/Realm.xcframework"; sourceTree = ""; }; - E8645B841C7913D600C241AA /* DynamicExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DynamicExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645B881C7913D600C241AA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E8645B981C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645B9B1C7913D600C241AA /* DynamicExample WatchKit App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "DynamicExample WatchKit App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BA11C7913D600C241AA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Interface.storyboard; sourceTree = ""; }; - E8645BA51C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645BAA1C7913D600C241AA /* DynamicExample WatchKit Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "DynamicExample WatchKit Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BB71C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8F651861C79234200D8E330 /* RealmSwift.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = RealmSwift.xcframework; path = "../../../realm-swift-latest/RealmSwift.xcframework"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8645B811C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA71C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - E82D95AC1C791A58000717F3 /* Realm.xcframework in Frameworks */, - E8F651881C79248400D8E330 /* RealmSwift.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - E8645B7B1C7913D600C241AA = { - isa = PBXGroup; - children = ( - E8645B861C7913D600C241AA /* DynamicExample */, - E8645B9F1C7913D600C241AA /* DynamicExample WatchKit App */, - E8645BAE1C7913D600C241AA /* DynamicExample WatchKit Extension */, - E8645B851C7913D600C241AA /* Products */, - E82D95A71C7919D9000717F3 /* Realm.xcframework */, - E8F651861C79234200D8E330 /* RealmSwift.xcframework */, - ); - sourceTree = ""; - }; - E8645B851C7913D600C241AA /* Products */ = { - isa = PBXGroup; - children = ( - E8645B9B1C7913D600C241AA /* DynamicExample WatchKit App.app */, - E8645BAA1C7913D600C241AA /* DynamicExample WatchKit Extension.appex */, - E8645B841C7913D600C241AA /* DynamicExample.app */, - ); - name = Products; - sourceTree = ""; - }; - E8645B861C7913D600C241AA /* DynamicExample */ = { - isa = PBXGroup; - children = ( - E8645B981C7913D600C241AA /* Info.plist */, - E8645B881C7913D600C241AA /* main.m */, - ); - path = DynamicExample; - sourceTree = ""; - }; - E8645B9F1C7913D600C241AA /* DynamicExample WatchKit App */ = { - isa = PBXGroup; - children = ( - E8645BA51C7913D600C241AA /* Info.plist */, - E8645BA01C7913D600C241AA /* Interface.storyboard */, - ); - path = "DynamicExample WatchKit App"; - sourceTree = ""; - }; - E8645BAE1C7913D600C241AA /* DynamicExample WatchKit Extension */ = { - isa = PBXGroup; - children = ( - E8645BB71C7913D600C241AA /* Info.plist */, - E806E9891C7921FE00C5C9A8 /* InterfaceController.swift */, - ); - path = "DynamicExample WatchKit Extension"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8645B831C7913D600C241AA /* DynamicExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "DynamicExample" */; - buildPhases = ( - E8645B801C7913D600C241AA /* Sources */, - E8645B811C7913D600C241AA /* Frameworks */, - E8645B821C7913D600C241AA /* Resources */, - E8645BC11C7913D600C241AA /* Embed Watch Content */, - ); - buildRules = ( - ); - dependencies = ( - E8645B9E1C7913D600C241AA /* PBXTargetDependency */, - ); - name = DynamicExample; - productName = DynamicExample; - productReference = E8645B841C7913D600C241AA /* DynamicExample.app */; - productType = "com.apple.product-type.application"; - }; - E8645B9A1C7913D600C241AA /* DynamicExample WatchKit App */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "DynamicExample WatchKit App" */; - buildPhases = ( - E8645B991C7913D600C241AA /* Resources */, - E8645BBD1C7913D600C241AA /* Embed App Extensions */, - ); - buildRules = ( - ); - dependencies = ( - E8645BAD1C7913D600C241AA /* PBXTargetDependency */, - ); - name = "DynamicExample WatchKit App"; - productName = "DynamicExample WatchKit App"; - productReference = E8645B9B1C7913D600C241AA /* DynamicExample WatchKit App.app */; - productType = "com.apple.product-type.application.watchapp2"; - }; - E8645BA91C7913D600C241AA /* DynamicExample WatchKit Extension */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "DynamicExample WatchKit Extension" */; - buildPhases = ( - E8645BA61C7913D600C241AA /* Sources */, - E8645BA71C7913D600C241AA /* Frameworks */, - E8645BA81C7913D600C241AA /* Resources */, - E82D95AE1C791A58000717F3 /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "DynamicExample WatchKit Extension"; - productName = "DynamicExample WatchKit Extension"; - productReference = E8645BAA1C7913D600C241AA /* DynamicExample WatchKit Extension.appex */; - productType = "com.apple.product-type.watchkit2-extension"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8645B7C1C7913D600C241AA /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8645B831C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - E8645B9A1C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - E8645BA91C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - }; - }; - buildConfigurationList = E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "DynamicExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - English, - en, - Base, - ); - mainGroup = E8645B7B1C7913D600C241AA; - productRefGroup = E8645B851C7913D600C241AA /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8645B831C7913D600C241AA /* DynamicExample */, - E8645B9A1C7913D600C241AA /* DynamicExample WatchKit App */, - E8645BA91C7913D600C241AA /* DynamicExample WatchKit Extension */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8645B821C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645B991C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA81C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8645B801C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645B891C7913D600C241AA /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA61C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E806E98A1C7921FE00C5C9A8 /* InterfaceController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8645B9E1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645B9A1C7913D600C241AA /* DynamicExample WatchKit App */; - targetProxy = E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */; - }; - E8645BAD1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645BA91C7913D600C241AA /* DynamicExample WatchKit Extension */; - targetProxy = E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8645BA01C7913D600C241AA /* Interface.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8645BA11C7913D600C241AA /* Base */, - ); - name = Interface.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8645BB81C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - E8645BB91C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E8645BBB1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - FRAMEWORK_SEARCH_PATHS = "../../../realm-swift-latest/watchos/swift-12.2"; - INFOPLIST_FILE = "DynamicExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.DynamicExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BBC1C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - FRAMEWORK_SEARCH_PATHS = "../../../realm-swift-latest/watchos/swift-12.2"; - INFOPLIST_FILE = "DynamicExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.DynamicExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BBF1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - IBSC_MODULE = DynamicExample_WatchKit_Extension; - INFOPLIST_FILE = "DynamicExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.DynamicExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BC01C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - IBSC_MODULE = DynamicExample_WatchKit_Extension; - INFOPLIST_FILE = "DynamicExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.DynamicExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BC31C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = DynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.DynamicExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - E8645BC41C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = DynamicExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.DynamicExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "DynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BB81C7913D600C241AA /* Debug */, - E8645BB91C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "DynamicExample WatchKit Extension" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBB1C7913D600C241AA /* Debug */, - E8645BBC1C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "DynamicExample WatchKit App" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBF1C7913D600C241AA /* Debug */, - E8645BC01C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "DynamicExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BC31C7913D600C241AA /* Debug */, - E8645BC41C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8645B7C1C7913D600C241AA /* Project object */; -} diff --git a/examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme b/examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme deleted file mode 100644 index 6e0981938a..0000000000 --- a/examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/DynamicExample.xcscheme +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme b/examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme deleted file mode 100644 index 573748059d..0000000000 --- a/examples/installation/watchos/swift/DynamicExample/DynamicExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/swift/DynamicExample/DynamicExample/Info.plist b/examples/installation/watchos/swift/DynamicExample/DynamicExample/Info.plist deleted file mode 100644 index 40c6215d90..0000000000 --- a/examples/installation/watchos/swift/DynamicExample/DynamicExample/Info.plist +++ /dev/null @@ -1,47 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/watchos/swift/DynamicExample/DynamicExample/main.m b/examples/installation/watchos/swift/DynamicExample/DynamicExample/main.m deleted file mode 100644 index 458fcd5151..0000000000 --- a/examples/installation/watchos/swift/DynamicExample/DynamicExample/main.m +++ /dev/null @@ -1,21 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -int main(int argc, char * argv[]) { - return 0; -} diff --git a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit App/Base.lproj/Interface.storyboard b/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit App/Base.lproj/Interface.storyboard deleted file mode 100644 index 4eaf319c35..0000000000 --- a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit App/Base.lproj/Interface.storyboard +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit App/Info.plist b/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit App/Info.plist deleted file mode 100644 index a5d28649c1..0000000000 --- a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit App/Info.plist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - XCFrameworkExample WatchKit App - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - - WKCompanionAppBundleIdentifier - io.realm.XCFrameworkExample - WKWatchKitApp - - - diff --git a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit Extension/Info.plist b/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit Extension/Info.plist deleted file mode 100644 index 9b9f157a54..0000000000 --- a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit Extension/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - XCFrameworkExample WatchKit Extension - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - XPC! - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - NSExtension - - NSExtensionAttributes - - WKAppBundleIdentifier - io.realm.XCFrameworkExample.watchkitapp - - NSExtensionPointIdentifier - com.apple.watchkit - - RemoteInterfacePrincipalClass - InterfaceController - WKExtensionDelegateClassName - ExtensionDelegate - - diff --git a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit Extension/InterfaceController.swift b/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit Extension/InterfaceController.swift deleted file mode 100644 index cf779dd7bf..0000000000 --- a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample WatchKit Extension/InterfaceController.swift +++ /dev/null @@ -1,56 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -import Foundation -import WatchKit -import RealmSwift - -class Counter: Object { - @objc dynamic var count = 0 -} - -class InterfaceController: WKInterfaceController { - @IBOutlet var button: WKInterfaceButton! - let counter: Counter - var token: NotificationToken! = nil - - override init() { - counter = Counter() - super.init() - let realm = try! Realm() - try! realm.write { - realm.add(counter) - } - } - - @IBAction func increment() { - try! counter.realm!.write { counter.count += 1 } - } - - override func willActivate() { - super.willActivate() - token = counter.realm!.observe { [unowned self] _, _ in - self.button.setTitle("\(self.counter.count)") - } - } - - override func didDeactivate() { - token.invalidate() - super.didDeactivate() - } -} diff --git a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj b/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj deleted file mode 100644 index 74bee927ac..0000000000 --- a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,574 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 3FDA0A412319AF370099B474 /* RealmSwift.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3FDA0A3F2319AF360099B474 /* RealmSwift.xcframework */; }; - 3FDA0A422319AF370099B474 /* RealmSwift.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3FDA0A3F2319AF360099B474 /* RealmSwift.xcframework */; }; - 3FDA0A432319AF370099B474 /* RealmObjc.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3FDA0A402319AF370099B474 /* RealmObjc.xcframework */; }; - 3FDA0A442319AF370099B474 /* RealmObjc.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3FDA0A402319AF370099B474 /* RealmObjc.xcframework */; }; - E806E98A1C7921FE00C5C9A8 /* InterfaceController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E806E9891C7921FE00C5C9A8 /* InterfaceController.swift */; }; - E8645B891C7913D600C241AA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E8645B881C7913D600C241AA /* main.m */; }; - E8645B9C1C7913D600C241AA /* XCFrameworkExample WatchKit App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = E8645B9B1C7913D600C241AA /* XCFrameworkExample WatchKit App.app */; }; - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E8645BA01C7913D600C241AA /* Interface.storyboard */; }; - E8645BAB1C7913D600C241AA /* XCFrameworkExample WatchKit Extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = E8645BAA1C7913D600C241AA /* XCFrameworkExample WatchKit Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645B9A1C7913D600C241AA; - remoteInfo = "XCFrameworkExample WatchKit App"; - }; - E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = E8645B7C1C7913D600C241AA /* Project object */; - proxyType = 1; - remoteGlobalIDString = E8645BA91C7913D600C241AA; - remoteInfo = "XCFrameworkExample WatchKit Extension"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - E82D95AE1C791A58000717F3 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BBD1C7913D600C241AA /* Embed App Extensions */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 13; - files = ( - E8645BAB1C7913D600C241AA /* XCFrameworkExample WatchKit Extension.appex in Embed App Extensions */, - ); - name = "Embed App Extensions"; - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BC11C7913D600C241AA /* Embed Watch Content */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = "$(CONTENTS_FOLDER_PATH)/Watch"; - dstSubfolderSpec = 16; - files = ( - E8645B9C1C7913D600C241AA /* XCFrameworkExample WatchKit App.app in Embed Watch Content */, - ); - name = "Embed Watch Content"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 3FDA0A3F2319AF360099B474 /* RealmSwift.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = RealmSwift.xcframework; path = "../../../realm-swift-latest/RealmSwift.xcframework"; sourceTree = ""; }; - 3FDA0A402319AF370099B474 /* RealmObjc.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = RealmObjc.xcframework; path = "../../../realm-swift-latest/RealmObjc.xcframework"; sourceTree = ""; }; - E806E9891C7921FE00C5C9A8 /* InterfaceController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InterfaceController.swift; sourceTree = ""; }; - E8645B841C7913D600C241AA /* XCFrameworkExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = XCFrameworkExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645B881C7913D600C241AA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - E8645B981C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645B9B1C7913D600C241AA /* XCFrameworkExample WatchKit App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "XCFrameworkExample WatchKit App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BA11C7913D600C241AA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Interface.storyboard; sourceTree = ""; }; - E8645BA51C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E8645BAA1C7913D600C241AA /* XCFrameworkExample WatchKit Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "XCFrameworkExample WatchKit Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; - E8645BB71C7913D600C241AA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E8645B811C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3FDA0A432319AF370099B474 /* RealmObjc.xcframework in Frameworks */, - 3FDA0A412319AF370099B474 /* RealmSwift.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA71C7913D600C241AA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3FDA0A442319AF370099B474 /* RealmObjc.xcframework in Frameworks */, - 3FDA0A422319AF370099B474 /* RealmSwift.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - E8645B7B1C7913D600C241AA = { - isa = PBXGroup; - children = ( - E8645B851C7913D600C241AA /* Products */, - E8645B861C7913D600C241AA /* XCFrameworkExample */, - E8645B9F1C7913D600C241AA /* XCFrameworkExample WatchKit App */, - E8645BAE1C7913D600C241AA /* XCFrameworkExample WatchKit Extension */, - 3FDA0A402319AF370099B474 /* RealmObjc.xcframework */, - 3FDA0A3F2319AF360099B474 /* RealmSwift.xcframework */, - ); - sourceTree = ""; - }; - E8645B851C7913D600C241AA /* Products */ = { - isa = PBXGroup; - children = ( - E8645B9B1C7913D600C241AA /* XCFrameworkExample WatchKit App.app */, - E8645BAA1C7913D600C241AA /* XCFrameworkExample WatchKit Extension.appex */, - E8645B841C7913D600C241AA /* XCFrameworkExample.app */, - ); - name = Products; - sourceTree = ""; - }; - E8645B861C7913D600C241AA /* XCFrameworkExample */ = { - isa = PBXGroup; - children = ( - E8645B981C7913D600C241AA /* Info.plist */, - E8645B881C7913D600C241AA /* main.m */, - ); - path = XCFrameworkExample; - sourceTree = ""; - }; - E8645B9F1C7913D600C241AA /* XCFrameworkExample WatchKit App */ = { - isa = PBXGroup; - children = ( - E8645BA51C7913D600C241AA /* Info.plist */, - E8645BA01C7913D600C241AA /* Interface.storyboard */, - ); - path = "XCFrameworkExample WatchKit App"; - sourceTree = ""; - }; - E8645BAE1C7913D600C241AA /* XCFrameworkExample WatchKit Extension */ = { - isa = PBXGroup; - children = ( - E8645BB71C7913D600C241AA /* Info.plist */, - E806E9891C7921FE00C5C9A8 /* InterfaceController.swift */, - ); - path = "XCFrameworkExample WatchKit Extension"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E8645B831C7913D600C241AA /* XCFrameworkExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "XCFrameworkExample" */; - buildPhases = ( - E8645B801C7913D600C241AA /* Sources */, - E8645B811C7913D600C241AA /* Frameworks */, - E8645B821C7913D600C241AA /* Resources */, - E8645BC11C7913D600C241AA /* Embed Watch Content */, - ); - buildRules = ( - ); - dependencies = ( - E8645B9E1C7913D600C241AA /* PBXTargetDependency */, - ); - name = XCFrameworkExample; - productName = XCFrameworkExample; - productReference = E8645B841C7913D600C241AA /* XCFrameworkExample.app */; - productType = "com.apple.product-type.application"; - }; - E8645B9A1C7913D600C241AA /* XCFrameworkExample WatchKit App */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "XCFrameworkExample WatchKit App" */; - buildPhases = ( - E8645B991C7913D600C241AA /* Resources */, - E8645BBD1C7913D600C241AA /* Embed App Extensions */, - ); - buildRules = ( - ); - dependencies = ( - E8645BAD1C7913D600C241AA /* PBXTargetDependency */, - ); - name = "XCFrameworkExample WatchKit App"; - productName = "XCFrameworkExample WatchKit App"; - productReference = E8645B9B1C7913D600C241AA /* XCFrameworkExample WatchKit App.app */; - productType = "com.apple.product-type.application.watchapp2"; - }; - E8645BA91C7913D600C241AA /* XCFrameworkExample WatchKit Extension */ = { - isa = PBXNativeTarget; - buildConfigurationList = E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "XCFrameworkExample WatchKit Extension" */; - buildPhases = ( - E8645BA61C7913D600C241AA /* Sources */, - E8645BA71C7913D600C241AA /* Frameworks */, - E8645BA81C7913D600C241AA /* Resources */, - E82D95AE1C791A58000717F3 /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "XCFrameworkExample WatchKit Extension"; - productName = "XCFrameworkExample WatchKit Extension"; - productReference = E8645BAA1C7913D600C241AA /* XCFrameworkExample WatchKit Extension.appex */; - productType = "com.apple.product-type.watchkit2-extension"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E8645B7C1C7913D600C241AA /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1430; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - E8645B831C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - E8645B9A1C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - E8645BA91C7913D600C241AA = { - CreatedOnToolsVersion = 7.2.1; - }; - }; - }; - buildConfigurationList = E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "XCFrameworkExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E8645B7B1C7913D600C241AA; - productRefGroup = E8645B851C7913D600C241AA /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E8645B831C7913D600C241AA /* XCFrameworkExample */, - E8645B9A1C7913D600C241AA /* XCFrameworkExample WatchKit App */, - E8645BA91C7913D600C241AA /* XCFrameworkExample WatchKit Extension */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E8645B821C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645B991C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645BA21C7913D600C241AA /* Interface.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA81C7913D600C241AA /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E8645B801C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E8645B891C7913D600C241AA /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8645BA61C7913D600C241AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E806E98A1C7921FE00C5C9A8 /* InterfaceController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - E8645B9E1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645B9A1C7913D600C241AA /* XCFrameworkExample WatchKit App */; - targetProxy = E8645B9D1C7913D600C241AA /* PBXContainerItemProxy */; - }; - E8645BAD1C7913D600C241AA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E8645BA91C7913D600C241AA /* XCFrameworkExample WatchKit Extension */; - targetProxy = E8645BAC1C7913D600C241AA /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - E8645BA01C7913D600C241AA /* Interface.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E8645BA11C7913D600C241AA /* Base */, - ); - name = Interface.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E8645BB81C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - E8645BB91C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - UPHONEOS_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E8645BBB1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - INFOPLIST_FILE = "XCFrameworkExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.XCFrameworkExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BBC1C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - INFOPLIST_FILE = "XCFrameworkExample WatchKit Extension/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.XCFrameworkExample.watchkitapp.watchkitextension; - PRODUCT_NAME = "${TARGET_NAME}"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BBF1C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - IBSC_MODULE = XCFrameworkExample_WatchKit_Extension; - INFOPLIST_FILE = "XCFrameworkExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.XCFrameworkExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Debug; - }; - E8645BC01C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - IBSC_MODULE = XCFrameworkExample_WatchKit_Extension; - INFOPLIST_FILE = "XCFrameworkExample WatchKit App/Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = io.realm.XCFrameworkExample.watchkitapp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 5.0; - }; - name = Release; - }; - E8645BC31C7913D600C241AA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = XCFrameworkExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.XCFrameworkExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - E8645BC41C7913D600C241AA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = XCFrameworkExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.realm.XCFrameworkExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E8645B7F1C7913D600C241AA /* Build configuration list for PBXProject "XCFrameworkExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BB81C7913D600C241AA /* Debug */, - E8645BB91C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBA1C7913D600C241AA /* Build configuration list for PBXNativeTarget "XCFrameworkExample WatchKit Extension" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBB1C7913D600C241AA /* Debug */, - E8645BBC1C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BBE1C7913D600C241AA /* Build configuration list for PBXNativeTarget "XCFrameworkExample WatchKit App" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BBF1C7913D600C241AA /* Debug */, - E8645BC01C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E8645BC21C7913D600C241AA /* Build configuration list for PBXNativeTarget "XCFrameworkExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E8645BC31C7913D600C241AA /* Debug */, - E8645BC41C7913D600C241AA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = E8645B7C1C7913D600C241AA /* Project object */; -} diff --git a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme b/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme deleted file mode 100644 index 07b38353dc..0000000000 --- a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/XCFrameworkExample.xcscheme +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme b/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme deleted file mode 100644 index f9e8aa1b26..0000000000 --- a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample/Info.plist b/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample/Info.plist deleted file mode 100644 index 40c6215d90..0000000000 --- a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample/Info.plist +++ /dev/null @@ -1,47 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample/main.m b/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample/main.m deleted file mode 100644 index 458fcd5151..0000000000 --- a/examples/installation/watchos/swift/XCFrameworkExample/XCFrameworkExample/main.m +++ /dev/null @@ -1,21 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// -// Copyright 2014 Realm Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////// - -int main(int argc, char * argv[]) { - return 0; -} diff --git a/scripts/pr-ci-matrix.rb b/scripts/pr-ci-matrix.rb index be202db51f..adf0d3b55c 100755 --- a/scripts/pr-ci-matrix.rb +++ b/scripts/pr-ci-matrix.rb @@ -22,7 +22,7 @@ def minimum_version(major) 'swiftpm-debug' => all, 'swiftpm-address' => latest_only, 'swiftpm-thread' => latest_only, - 'swiftpm-ios' => all, + 'ios-xcode-spm' => all, 'ios-static' => oldest_and_latest, 'ios-dynamic' => oldest_and_latest, @@ -43,11 +43,11 @@ def minimum_version(major) 'xcframework' => latest_only, 'cocoapods-osx' => all, - 'cocoapods-ios' => oldest_and_latest, - 'cocoapods-ios-dynamic' => oldest_and_latest, - 'cocoapods-ios-subdependency' => latest_only, - 'cocoapods-watchos' => oldest_and_latest, - # 'cocoapods-catalyst' => oldest_and_latest, + 'cocoapods-ios' => latest_only, + 'cocoapods-ios-dynamic' => latest_only, + 'cocoapods-watchos' => latest_only, + 'cocoapods-tvos' => latest_only, + 'cocoapods-catalyst' => latest_only, 'swiftui-ios' => latest_only, 'swiftui-server-osx' => latest_only, }