Skip to content

Commit

Permalink
✨ Example - Minor Changes
Browse files Browse the repository at this point in the history
Summary: Fix example project build-related issues.
  • Loading branch information
dominicstop committed Mar 12, 2022
1 parent 6c48b4b commit 566671e
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 11 deletions.
2 changes: 1 addition & 1 deletion example/ios/File.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// File.swift
// IosPopoverExample
//
// Created by Dominic Go on 2/13/22.
// Created by Dominic Go on 3/13/22.
//

import Foundation
1 change: 1 addition & 0 deletions example/ios/IosPopoverExample-Bridging-Header.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
// Use this file to import your target's public headers that you would like to
// expose to Swift.
//

16 changes: 11 additions & 5 deletions example/ios/IosPopoverExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
4C39C56BAD484C67AA576FFA /* libPods-IosPopoverExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CA3E69C5B9553B26FBA2DF04 /* libPods-IosPopoverExample.a */; };
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
88561FBC27B95851003F248D /* File.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88561FBB27B95851003F248D /* File.swift */; };
8811425E27DD5373003B5A75 /* File.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8811425A27DD3167003B5A75 /* File.swift */; };
8811425F27DD5398003B5A75 /* IosPopoverExample-Bridging-Header.h in Resources */ = {isa = PBXBuildFile; fileRef = 88561FBA27B95851003F248D /* IosPopoverExample-Bridging-Header.h */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -48,8 +49,8 @@
2D02E4901E0B4A5D006451C7 /* IosPopoverExample-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "IosPopoverExample-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
47F7ED3B7971BE374F7B8635 /* Pods-IosPopoverExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IosPopoverExample.debug.xcconfig"; path = "Target Support Files/Pods-IosPopoverExample/Pods-IosPopoverExample.debug.xcconfig"; sourceTree = "<group>"; };
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = IosPopoverExample/LaunchScreen.storyboard; sourceTree = "<group>"; };
88561FBA27B95851003F248D /* IosPopoverExample-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "IosPopoverExample-Bridging-Header.h"; sourceTree = "<group>"; };
88561FBB27B95851003F248D /* File.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = File.swift; sourceTree = "<group>"; };
8811425A27DD3167003B5A75 /* File.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = File.swift; sourceTree = "<group>"; };
88561FBA27B95851003F248D /* IosPopoverExample-Bridging-Header.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; path = "IosPopoverExample-Bridging-Header.h"; sourceTree = "<group>"; };
CA3E69C5B9553B26FBA2DF04 /* libPods-IosPopoverExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-IosPopoverExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
E00ACF0FDA8BF921659E2F9A /* Pods-IosPopoverExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IosPopoverExample.release.xcconfig"; path = "Target Support Files/Pods-IosPopoverExample/Pods-IosPopoverExample.release.xcconfig"; sourceTree = "<group>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
Expand Down Expand Up @@ -99,8 +100,8 @@
13B07FB61A68108700A75B9A /* Info.plist */,
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
13B07FB71A68108700A75B9A /* main.m */,
88561FBB27B95851003F248D /* File.swift */,
88561FBA27B95851003F248D /* IosPopoverExample-Bridging-Header.h */,
8811425A27DD3167003B5A75 /* File.swift */,
);
name = IosPopoverExample;
sourceTree = "<group>";
Expand Down Expand Up @@ -297,6 +298,7 @@
files = (
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
8811425F27DD5398003B5A75 /* IosPopoverExample-Bridging-Header.h in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -439,7 +441,7 @@
buildActionMask = 2147483647;
files = (
13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
88561FBC27B95851003F248D /* File.swift in Sources */,
8811425E27DD5373003B5A75 /* File.swift in Sources */,
13B07FC11A68108700A75B9A /* main.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -529,6 +531,7 @@
DEVELOPMENT_TEAM = ZC7A6XV8GR;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = IosPopoverExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = (
"$(inherited)",
Expand All @@ -553,6 +556,7 @@
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = ZC7A6XV8GR;
INFOPLIST_FILE = IosPopoverExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = (
"$(inherited)",
Expand Down Expand Up @@ -676,6 +680,7 @@
83CBBA201A601CBA00E9B192 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
Expand Down Expand Up @@ -732,6 +737,7 @@
83CBBA211A601CBA00E9B192 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
ReferencedContainer = "container:IosPopoverExample.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand Down
4 changes: 2 additions & 2 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '11.0'
platform :ios, '10.0'

target 'IosPopoverExample' do
config = use_native_modules!
Expand All @@ -18,4 +18,4 @@ target 'IosPopoverExample' do
# post_install do |installer|
# flipper_post_install(installer)
# end
end
end
2 changes: 1 addition & 1 deletion example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,6 @@ SPEC CHECKSUMS:
RNScreens: 40a2cb40a02a609938137a1e0acfbf8fc9eebf19
Yoga: 4bd86afe9883422a7c4028c00e34790f560923d6

PODFILE CHECKSUM: 22385524c10104fcefed7c039a523e8e932cbbb5
PODFILE CHECKSUM: 61aa75e2e0fe91b224a47061e5687d4603b89750

COCOAPODS: 1.10.1
4 changes: 2 additions & 2 deletions ios/IosPopover.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -315,7 +315,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OBJC_BRIDGING_HEADER = "Src/IosPopover-Bridging-Header.h";
Expand Down
1 change: 1 addition & 0 deletions ios/Src/IosPopover-Bridging-Header.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#if DEBUG
#import <React/RCTDevLoadingView.h>
#endif
Expand Down

0 comments on commit 566671e

Please sign in to comment.