Comments (15)
I faced similar issue i think you have installed Xcode 5 DP and this is causing the problem.
try running
$ xcode-select --print-path
if this points to Xcode 5 DP . Switch back to Xcode version you are using.
Run command :
$sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
Hope this solves your issue.
For more info check : #52
from shenzhen.
I can build the adHoc ipa manually.
But ipa build not work . Is there something wrong with my build setting
from shenzhen.
I'm also having the same issue when running ipa build:
The following build commands failed:
Check dependencies
(1 failure)
This is on a completely vanilla app. (Birdwatching sample app from Apple).
Both Release and Debug configurations are present. The application builds correctly in Xcode and with xcodebuild. Could someone offer additional troubleshooting information?
I am not using Cocoapods or have ever installed Xcode 5.
Thank you very much for the help! 😄
from shenzhen.
FWIW, ipa successfully builds anything other than the Debug configuration. ipa -c Release builds correctly. What could be wrong with the 'Debug' configuration ?
from shenzhen.
I was able to fix this by merging https://github.com/codecaffeine/shenzhen/compare/default-config-from-build-settings into master. See enriquez/shenzhen@f29ad02
I think the commit at codecaffeine/shenzhen@260d804 was lost when #27 was merged. That commit removes the check on the build configuration and leaves it up to xcodebuild
to check if the build configuration is valid.
from shenzhen.
I've completely lost the thread on this. I believe everything is working correctly on master now. FWIW, build errors are now easier to debug, by passing the --verbose
flag.
from shenzhen.
This an old really old post. But, I'm seeing this error now.
I'm using
ipa build --embed "iOS Team Provisioning Profile" --verbose
And is showing me this error:
[BEROR]CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.1'
Ok, so, if I sign it manually in (Build Settings --> Code Signing) with correct Provisioning Profile AND Code Signing Identity, creates the ipa without problems. Although, this is not what I would like to do, because I need to automatize this step...
What command should I use? 😩
Thank you very much for this lib.
Greetings
from shenzhen.
In general, the --embed
option will not be taken into account by xcodebuild
, don't know if that's a bug or by design.
Your project must be correctly configured to use the correct provisioning profile.
from shenzhen.
So @KrauseFx , is mandatory to assign the Code signing and the Provisioning Profile in XCode IDE...
Running the xcrun command shows the same result, and is .... sad...
xcrun -sdk iphoneos PackageApplication -v ~/XcodeCommandLine/sym.root/Debug-iphonesimulator/MyTarget.app -o some_path
Codesign check fails : /Users/xxxx/XcodeCommandLine/sym.root/Debug-iphonesimulator/MyappTarget-cal.app: code object is not signed at all In architecture: i386
Thanks for the answer.
from shenzhen.
Yes. That means your project settings are somehow incorrect.
from shenzhen.
Well, I just wanted to say, even if this right now an old post... that I wrote this script to simplify signing when using automated testing (Because I needed to create an ipa and deploy it, without using Xcode while using Jenkins). https://github.com/phynet/SSCodesigningXcode
Thanks for your help @KrauseFx
from shenzhen.
So what SSCodesigningXcode
does: it modified the Xcode project code signing settings to match the correct ones, right? You'd run this before building using shenzhen
.
If so, I implemented something similar integrated into fastlane
: update_project_code_signing
from shenzhen.
Haha, yep, the same thing, didn't know you have this!!. But I'm newbie using Ruby so...I learned a little doing it anyway. :3
I will take a look at your code. Thanks 👍
from shenzhen.
Cool. This fastlane
action was not officially announced yet, but is already included in the last release. It will only set the correct UDID, as the code signing identity can just be set to default.
from shenzhen.
Excellent then! good job! I will keep my eye on it.
Although,I will have to change mine later, because I'm using calabash-ios; it creates a new target, so the .pbxprj file changes his format, so I'll have to adjust it to the "new" format. It's already done but not pushed yet; but anyway, this is for a particular use only.
Thank you for sharing, your library looks good!
from shenzhen.
Related Issues (20)
- Xcode8 can't archive use shenzhen HOT 1
- Including DSYM? HOT 2
- info command does not work for app name contains white spaces
- Install Error "use of undeclared identifier 'LZMA_OK'" HOT 3
- ipa command not found in Jenkins HOT 3
- How can I build Ad Hoc Deployment ipa HOT 2
- ipa build error
- Missing release comment HOT 1
- Create a new version? HOT 2
- upload fir error HOT 4
- ipa building is quite slowly
- Xcode8.3 unable to find utility "PackageApplication" HOT 3
- XCode 8.3 cannot find PackageApplication HOT 3
- /usr/local/bin/ipa: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory HOT 1
- FilePermissionError HOT 2
- Shenzen fails on Xcode version check when evaluating Xcode 10+ HOT 2
- Shenzhen requires Xcode 4 (found 10.0). Please install or switch to the latest Xcode. HOT 2
- XCode 11.1 updates the path for iTMSTransporter
- ipa info could not run correctly
- (IGNORE)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shenzhen.