Skip to content

Commit

Permalink
bugfix changes iOS template to allow simulator/device linking. (#6364)
Browse files Browse the repository at this point in the history
* bugfix changes iOS template to allow simulator/device linking. Closes #6192

* fix for ci to build debug for both OF lib and emptyExample app

* one more try - maybe needs to be Release?
  • Loading branch information
ofTheo committed Sep 3, 2019
1 parent 95ccc98 commit 04579e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
3 changes: 2 additions & 1 deletion libs/openFrameworksCompiled/project/ios/CoreOF.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ HEADER_PUGIXML = "$(OF_PATH)/libs/pugixml/include"


//------- Libraries
LIB_OF = "$(OF_PATH)/libs/openFrameworksCompiled/lib/ios/libofxiOS_${PLATFORM_NAME}_${CONFIGURATION}.a"
LIB_FREEIMAGE = "$(OF_PATH)/libs/FreeImage/lib/ios/freeimage.a"
LIB_FREETYPE = "$(OF_PATH)/libs/freetype/lib/ios/freetype.a"
LIB_TESS = "$(OF_PATH)/libs/tess2/lib/ios/tess2.a"
Expand All @@ -31,7 +32,7 @@ LIB_PUGIXML = "$(OF_PATH)/libs/pugixml/lib/ios/pugixml.a"

MISC_FLAGS = "-ObjC"

OF_CORE_LIBS = $(MISC_FLAGS) $(LIB_BOOST) $(LIB_FREEIMAGE) $(LIB_FREETYPE) $(LIB_OPENSSL) $(LIB_TESS) $(LIB_CURL) $(LIB_URIPARSER) $(LIB_PUGIXML)
OF_CORE_LIBS = $(MISC_FLAGS) $(LIB_BOOST) $(LIB_FREEIMAGE) $(LIB_FREETYPE) $(LIB_OPENSSL) $(LIB_TESS) $(LIB_CURL) $(LIB_URIPARSER) $(LIB_PUGIXML) $(LIB_OF)

OF_CORE_HEADERS = $(HEADER_OF) $(HEADER_OFXIOS) $(HEADER_OFXACCELEROMETER) $(HEADER_BOOST) $(HEADER_UTF8) $(HEADER_FREETYPE) $(HEADER_FREETYPE2) $(HEADER_FMODEX) $(HEADER_GLEW) $(HEADER_FREEIMAGE) $(HEADER_TESS2) $(HEADER_RTAUDIO) $(HEADER_JSON) $(HEADER_GLM) $(HEADER_CURL) $(HEADER_URIPARSER) $(HEADER_PUGIXML)

Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/ios/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ echo "Building openFrameworks - iOS Template Project"
ROOT=${TRAVIS_BUILD_DIR:-"$( cd "$(dirname "$0")/../../.." ; pwd -P )"}
source $ROOT/scripts/ci/ccache.sh

xcodebuild -project "$ROOT/scripts/templates/ios/emptyExample.xcodeproj" -target emptyExample -sdk 'iphonesimulator' ARCHS='x86_64'
xcodebuild -configuration Release -project "$ROOT/scripts/templates/ios/emptyExample.xcodeproj" -target emptyExample -sdk 'iphonesimulator' ARCHS='x86_64'
7 changes: 0 additions & 7 deletions scripts/templates/ios/emptyExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -999,13 +999,6 @@
<key>targetProxy</key>
<string>E41D410313B3A11300A75A5D</string>
</dict>
<key>E41D421413B3A95300A75A5D</key>
<dict>
<key>fileRef</key>
<string>E41D410213B3A0D800A75A5D</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E4A823A312561BE3002F86A2</key>
<dict>
<key>isa</key>
Expand Down

0 comments on commit 04579e7

Please sign in to comment.