Created
October 22, 2015 07:36
-
-
Save tboyce12/86148152e0d53068c516 to your computer and use it in GitHub Desktop.
Build single view iOS app template, try to install with ios-deploy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pwd | |
/Users/tboyce12/Downloads/foo | |
$ xcodebuild -scheme foo -sdk iphoneos BUILD_DIR=$(pwd)/build &> build.log | |
$ ios-deploy -v -d -b build/Debug-iphoneos/foo.app &> deploy.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Build settings from command line: | |
BUILD_DIR = /Users/tboyce12/Downloads/foo/build | |
SDKROOT = iphoneos9.0 | |
=== BUILD TARGET foo OF PROJECT foo WITH CONFIGURATION Debug === | |
Check dependencies | |
Create product structure | |
/bin/mkdir -p /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app | |
CreateUniversalBinary build/Debug-iphoneos/foo.app/foo normal armv7\ arm64 | |
cd /Users/tboyce12/Downloads/foo | |
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/tboyce12/.nvm/versions/node/v0.12.7/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3@global/bin:/Users/tboyce12/.rvm/rubies/ruby-2.1.3/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin" | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo -create /Users/tboyce12/Library/Developer/Xcode/DerivedData/foo-dtzonykntffyacawafzmhblufqlq/Build/Intermediates/foo.build/Debug-iphoneos/foo.build/Objects-normal/armv7/foo /Users/tboyce12/Library/Developer/Xcode/DerivedData/foo-dtzonykntffyacawafzmhblufqlq/Build/Intermediates/foo.build/Debug-iphoneos/foo.build/Objects-normal/arm64/foo -output /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/foo | |
ProcessInfoPlistFile build/Debug-iphoneos/foo.app/Info.plist foo/Info.plist | |
cd /Users/tboyce12/Downloads/foo | |
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/tboyce12/.nvm/versions/node/v0.12.7/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3@global/bin:/Users/tboyce12/.rvm/rubies/ruby-2.1.3/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin" | |
builtin-infoPlistUtility /Users/tboyce12/Downloads/foo/foo/Info.plist -genpkginfo /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -additionalcontentfile /Users/tboyce12/Library/Developer/Xcode/DerivedData/foo-dtzonykntffyacawafzmhblufqlq/Build/Intermediates/foo.build/Debug-iphoneos/foo.build/LaunchScreen-SBPartialInfo.plist -additionalcontentfile /Users/tboyce12/Library/Developer/Xcode/DerivedData/foo-dtzonykntffyacawafzmhblufqlq/Build/Intermediates/foo.build/Debug-iphoneos/foo.build/assetcatalog_generated_info.plist -additionalcontentfile /Users/tboyce12/Library/Developer/Xcode/DerivedData/foo-dtzonykntffyacawafzmhblufqlq/Build/Intermediates/foo.build/Debug-iphoneos/foo.build/Main-SBPartialInfo.plist -o /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/Info.plist | |
LinkStoryboards | |
cd /Users/tboyce12/Downloads/foo | |
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/tboyce12/.nvm/versions/node/v0.12.7/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3@global/bin:/Users/tboyce12/.rvm/rubies/ruby-2.1.3/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin" | |
export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/.. | |
/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module foo --target-device iphone --target-device ipad --minimum-deployment-target 9.0 --output-format human-readable-text --link /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app /Users/tboyce12/Library/Developer/Xcode/DerivedData/foo-dtzonykntffyacawafzmhblufqlq/Build/Intermediates/foo.build/Debug-iphoneos/foo.build/Base.lproj/LaunchScreen.storyboardc /Users/tboyce12/Library/Developer/Xcode/DerivedData/foo-dtzonykntffyacawafzmhblufqlq/Build/Intermediates/foo.build/Debug-iphoneos/foo.build/Base.lproj/Main.storyboardc | |
ProcessProductPackaging /Users/tboyce12/Library/MobileDevice/Provisioning\ Profiles/f8cffe05-6c4c-4689-8af7-c0d1740527c4.mobileprovision build/Debug-iphoneos/foo.app/embedded.mobileprovision | |
cd /Users/tboyce12/Downloads/foo | |
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/tboyce12/.nvm/versions/node/v0.12.7/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3@global/bin:/Users/tboyce12/.rvm/rubies/ruby-2.1.3/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin" | |
builtin-productPackagingUtility /Users/tboyce12/Library/MobileDevice/Provisioning\ Profiles/f8cffe05-6c4c-4689-8af7-c0d1740527c4.mobileprovision -o /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/embedded.mobileprovision | |
Touch build/Debug-iphoneos/foo.app | |
cd /Users/tboyce12/Downloads/foo | |
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/tboyce12/.nvm/versions/node/v0.12.7/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3@global/bin:/Users/tboyce12/.rvm/rubies/ruby-2.1.3/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin" | |
/usr/bin/touch -c /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app | |
ProcessProductPackaging /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/Entitlements.plist /Users/tboyce12/Library/Developer/Xcode/DerivedData/foo-dtzonykntffyacawafzmhblufqlq/Build/Intermediates/foo.build/Debug-iphoneos/foo.build/foo.app.xcent | |
cd /Users/tboyce12/Downloads/foo | |
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/tboyce12/.nvm/versions/node/v0.12.7/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3@global/bin:/Users/tboyce12/.rvm/rubies/ruby-2.1.3/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin" | |
builtin-productPackagingUtility /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/Entitlements.plist -entitlements -format xml -o /Users/tboyce12/Library/Developer/Xcode/DerivedData/foo-dtzonykntffyacawafzmhblufqlq/Build/Intermediates/foo.build/Debug-iphoneos/foo.build/foo.app.xcent | |
CodeSign build/Debug-iphoneos/foo.app | |
cd /Users/tboyce12/Downloads/foo | |
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate | |
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/tboyce12/.nvm/versions/node/v0.12.7/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3@global/bin:/Users/tboyce12/.rvm/rubies/ruby-2.1.3/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin" | |
Signing Identity: "iPhone Developer: xxxxxxxxxxxxxxxxxx (yyyyyyyyyy)" | |
Provisioning Profile: "iOSTeam Provisioning Profile: zzzzzzzzzzzzzzzzzzz" | |
(aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa) | |
/usr/bin/codesign --force --sign bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb --entitlements /Users/tboyce12/Library/Developer/Xcode/DerivedData/foo-dtzonykntffyacawafzmhblufqlq/Build/Intermediates/foo.build/Debug-iphoneos/foo.build/foo.app.xcent --timestamp=none /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app | |
Validate build/Debug-iphoneos/foo.app | |
cd /Users/tboyce12/Downloads/foo | |
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/tboyce12/.nvm/versions/node/v0.12.7/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3/bin:/Users/tboyce12/.rvm/gems/ruby-2.1.3@global/bin:/Users/tboyce12/.rvm/rubies/ruby-2.1.3/bin:/Users/tboyce12/.tb_venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/bin:/Users/tboyce12/.dotfiles/bin:/Users/tboyce12/.rvm/bin" | |
export PRODUCT_TYPE=com.apple.product-type.application | |
builtin-validationUtility /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app | |
** BUILD SUCCEEDED ** | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[....] Waiting for iOS device to be connected | |
Best device match: 2 | |
Handling device type: 1 | |
Already found device? 0 | |
Device Name: tboyce12-iPadMini | |
Model Name: iPad mini | |
[....] Using iPad mini 'tboyce12-iPadMini' (xxxxxxxxxxxx---device-id---xxxxxxxxxxxxx). | |
------ Install phase ------ | |
[ 0%] Found iPad mini 'tboyce12-iPadMini' (xxxxxxxxxxxx---device-id---xxxxxxxxxxxxx) connected through USB, beginning install | |
[ 5%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/META-INF/ to device | |
[ 6%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/META-INF/com.apple.ZipMetadata.plist to device | |
[ 7%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/_CodeSignature/ to device | |
[ 8%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/_CodeSignature/CodeResources to device | |
[ 10%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/Base.lproj/ to device | |
[ 12%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/Base.lproj/LaunchScreen.storyboardc/ to device | |
[ 13%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib to device | |
[ 15%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/Base.lproj/LaunchScreen.storyboardc/Info.plist to device | |
[ 16%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib to device | |
[ 17%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/Base.lproj/Main.storyboardc/ to device | |
[ 19%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib to device | |
[ 20%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/Base.lproj/Main.storyboardc/Info.plist to device | |
[ 22%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r.nib to device | |
[ 23%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/embedded.mobileprovision to device | |
[ 26%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/foo to device | |
[ 47%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/Info.plist to device | |
[ 48%] Copying /Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app/PkgInfo to device | |
[ 52%] CreatingStagingDirectory | |
[ 57%] ExtractingPackage | |
[ 60%] InspectingPackage | |
[ 60%] TakingInstallLock | |
[ 65%] PreflightingApplication | |
[ 65%] InstallingEmbeddedProfile | |
[ 70%] VerifyingApplication | |
[ 75%] CreatingContainer | |
[ 80%] InstallingApplication | |
[ 85%] PostflightingApplication | |
[ 90%] SandboxingApplication | |
[ 95%] GeneratingApplicationMap | |
[100%] Installed package build/Debug-iphoneos/foo.app | |
Device Name: tboyce12-iPadMini | |
Model Name: iPad mini | |
------ Debug phase ------ | |
Starting debug of iPad mini 'tboyce12-iPadMini' (xxxxxxxxxxxx---device-id---xxxxxxxxxxxxx) connected through USB... | |
Device support path: /Users/tboyce12/Library/Developer/Xcode/iOS DeviceSupport/9.0.2 (13A452) | |
Developer disk image: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/9.0 (13A340)/DeveloperDiskImage.dmg | |
[ 0%] Looking up developer disk image | |
[ 95%] Developer disk image mounted successfully | |
[100%] Connecting to remote debug server | |
------------------------- | |
Handling device type: 2 | |
Already found device? 1 | |
(lldb) command source -s 0 '/tmp/0479A7FF-BFC6-493A-9335-306319C7949E/fruitstrap-lldb-prep-cmds-xxxxxxxxxxxx---device-id---xxxxxxxxxxxxx' | |
Executing commands in '/tmp/0479A7FF-BFC6-493A-9335-306319C7949E/fruitstrap-lldb-prep-cmds-xxxxxxxxxxxx---device-id---xxxxxxxxxxxxx'. | |
(lldb) platform select remote-ios --sysroot '/Users/tboyce12/Library/Developer/Xcode/iOS DeviceSupport/9.0.2 (13A452)/Symbols' | |
Platform: remote-ios | |
Connected: no | |
SDK Path: "/Users/tboyce12/Library/Developer/Xcode/iOS DeviceSupport/9.0.2 (13A452)/Symbols" | |
(lldb) target create "/Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app" | |
Device Name: (null) | |
Model Name: Unknown Device | |
[....] Using (xxxxxxxxxxxx---device-id---xxxxxxxxxxxxxss). | |
------ Install phase ------ | |
[ 0%] Found (xxxxxxxxxxxx---device-id---xxxxxxxxxxxxxss) connected through WIFI, beginning install | |
Current executable set to '/Users/tboyce12/Downloads/foo/build/Debug-iphoneos/foo.app' (arm64). | |
(lldb) script fruitstrap_device_app="/private/var/mobile/Containers/Bundle/Application/B5F96571-3103-43A8-AFD2-C769CE47D159/foo.app" | |
(lldb) script fruitstrap_connect_url="connect://127.0.0.1:52884" | |
(lldb) command script import "/tmp/0479A7FF-BFC6-493A-9335-306319C7949E/fruitstrap_xxxxxxxxxxxx---device-id---xxxxxxxxxxxxx.py" | |
(lldb) command script add -f fruitstrap_xxxxxxxxxxxx---device-id---xxxxxxxxxxxxx.connect_command connect | |
(lldb) command script add -s asynchronous -f fruitstrap_xxxxxxxxxxxx---device-id---xxxxxxxxxxxxx.run_command run | |
(lldb) command script add -s asynchronous -f fruitstrap_xxxxxxxxxxxx---device-id---xxxxxxxxxxxxx.autoexit_command autoexit | |
(lldb) command script add -s asynchronous -f fruitstrap_xxxxxxxxxxxx---device-id---xxxxxxxxxxxxx.safequit_command safequit | |
(lldb) connect | |
2015-10-22 00:22:06.298 ios-deploy[13297:196298] [ !! ] Error 0xe800007f: Device doesn't support wireless sync. AMDeviceSecureStartService(device, CFSTR("com.apple.afc"), NULL, &afcFd) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment