Skip to content

Commit

Permalink
build(ios): fix build against sdk 8.0.0+ (#92)
Browse files Browse the repository at this point in the history
* build: add missing FRAMEWORK_SEARCH_PATHS

* build: enable clang modules
  • Loading branch information
janvennemann authored Sep 11, 2019
1 parent 5f696a7 commit 30ee485
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ios/admob.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
English,
en,
);
mainGroup = 0867D691FE84028FC02AAC07 /* admob */;
Expand Down Expand Up @@ -371,6 +372,7 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 24DD6D1B1134B66800162E58 /* titanium.xcconfig */;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DSTROOT = /tmp/TiAdmob.dst;
Expand Down Expand Up @@ -412,6 +414,7 @@
baseConfigurationReference = 24DD6D1B1134B66800162E58 /* titanium.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ENABLE_MODULES = YES;
DEPLOYMENT_POSTPROCESSING = YES;
DSTROOT = /tmp/TiAdmob.dst;
GCC_C_LANGUAGE_STANDARD = c99;
Expand Down
1 change: 1 addition & 0 deletions ios/titanium.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ TITANIUM_SDK = ~/Library/Application Support/Titanium/mobilesdk/osx/$(TITANIUM_S
TITANIUM_BASE_SDK = "$(TITANIUM_SDK)/iphone/include"
TITANIUM_BASE_SDK2 = "$(TITANIUM_SDK)/iphone/include/TiCore"
HEADER_SEARCH_PATHS= $(TITANIUM_BASE_SDK) $(TITANIUM_BASE_SDK2) ~$(TITANIUM_BASE_SDK) ~$(TITANIUM_BASE_SDK2)
FRAMEWORK_SEARCH_PATHS = $(inherited) "$(TITANIUM_SDK)/iphone/Frameworks"

0 comments on commit 30ee485

Please sign in to comment.