hebruce110 / BashShell

BashShell
377 stars 109 forks source link

ipa file can not be installed into iphone #1

Open sunqingquan opened 9 years ago

sunqingquan commented 9 years ago

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"

CocoaML commented 6 years ago

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

CocoaML commented 6 years ago

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