add target to build for simulator
This commit is contained in:
6
Makefile
6
Makefile
@@ -31,6 +31,12 @@ iapp: config.gypi src ios/llmr-app.gyp
|
||||
xcodebuild -project ./ios/llmr-app.xcodeproj
|
||||
# launch app with ios-sim?
|
||||
|
||||
isim: config.gypi src ios/llmr-app.gyp
|
||||
deps/run_gyp ios/llmr-app.gyp -Goutput_dir=./out/ --depth=. --generator-output=./ -f xcode
|
||||
xcodebuild -project ./ios/llmr-app.xcodeproj -arch i386 -sdk iphonesimulator
|
||||
# does not work
|
||||
#"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator" -SimulateApplication ios/build/Release-iphonesimulator/llmr.app/llmr
|
||||
|
||||
clean:
|
||||
-rm -rf out
|
||||
-rm -rf build
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
'xcode_settings': {
|
||||
'SDKROOT': 'iphoneos',
|
||||
'SUPPORTED_PLATFORMS':['iphonesimulator','iphoneos'],
|
||||
'ARCHS': [ "armv7", "armv7s", "arm64" ],
|
||||
'ARCHS': [ "armv7", "armv7s", "arm64", "i386" ],
|
||||
'OTHER_LDFLAGS': [
|
||||
'-stdlib=libc++'
|
||||
],
|
||||
|
||||
4
llmr.gyp
4
llmr.gyp
@@ -64,8 +64,8 @@
|
||||
],
|
||||
'xcode_settings': {
|
||||
'SDKROOT': 'iphoneos',
|
||||
'SUPPORTED_PLATFORMS':['iphonesimulator','iphoneos'],
|
||||
'ARCHS': [ "armv7", "armv7s", "arm64" ],
|
||||
'SUPPORTED_PLATFORMS':['iphonesimulator','iphoneos',],
|
||||
'ARCHS': [ "armv7", "armv7s", "arm64", "i386" ],
|
||||
'TARGETED_DEVICE_FAMILY': '1,2',
|
||||
'CODE_SIGN_IDENTITY': 'iPhone Developer',
|
||||
'IPHONEOS_DEPLOYMENT_TARGET': '5.0',
|
||||
|
||||
Reference in New Issue
Block a user