BashShell
BashShell copied to clipboard
ipa file can not be installed into iphone
I use your script,I can generate ipa file successfully,but when I install it into my iphone ,it will pop up "install XXX failed". PS: 1.I use “xcodebuild and xcrun” to build my project,it still failed. 2.my project contains widgets. following is my commands 1.xcodebuild -project Abc.xcodeproj -target Abc -configuration Debug 2./usr/bin/xcrun -sdk iphoneos PackageApplication -v /Users/potter/Desktop/ddd/aaa/build/Release-iphoneos/Abc.app -o /Users/potter/Desktop/ddd/aaa/build/Release-iphoneos/Abc.ipa --sign "iPhone Distribution: XXXXXX." --embed "/Users/potter/Library/MobileDevice/Provisioning Profiles/XXXXXX.mobileprovision"
Open terminal and run this command. Use sh build_install.sh ( use full path. eg: /Users/username/Downloads/BashShell/build_install.sh )
After Xcode 8.x,Apple remove PackageApplication ,so ,you should download PackageApplication to the specified dir. The dir is :/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin Then you should query and download PackageApplication. github: https://github.com/JackSteven/PackageApplication