BashShell icon indicating copy to clipboard operation
BashShell copied to clipboard

ipa file can not be installed into iphone

Open sunqingquan opened this issue 9 years ago • 2 comments

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"

sunqingquan avatar Jun 24 '15 10:06 sunqingquan

Open terminal and run this command. Use sh build_install.sh ( use full path. eg: /Users/username/Downloads/BashShell/build_install.sh )

CocoaML avatar Jun 12 '18 07:06 CocoaML

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

CocoaML avatar Jun 12 '18 10:06 CocoaML