-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Xcode 4.6.1
I'm using cocoapods for dependency management. It requires that apps get build using a workspace file, instead of a regular project file. And it adds a "Pods" project into that workspace, which is used by my app.
So, in my xcode settings in the Jenkins job, the only things I set are the "schema" and "workspace" settings. It builds the app just fine, but the "Build IPA" step fails.
The message that I get is:
Cannot remove *.ipa files from a non-existing directory: /Users/jenkins/.jenkins/jobs/myapp/workspace/build/-iphoneos
So, it appears that it expects my app to exist in a directory named "build", relative to my project. And since I'm not specifying configuration, there's no "Release" in front of the "-iphoneos" part of the path.
So, is there anything I can do to fix this?
- is duplicated by
-
JENKINS-12635 packaging ipa doesn´t work if run on a slave
-
- Closed
-
- is related to
-
JENKINS-17455 need documentation about using this with the Xcode plugin, to build an ipa file
-
- Open
-
I am having a similar issue. I am not using cocoapods, and I have specified a value for configuration, but I have set it to ${Environment} a variable that I set earlier. The message that I get is:
Cannot remove *.ipa files from a non-existing directory: /Users/Shared/Jenkins/Home/jobs/HotelSearch_iPhone_stage/workspace/build/${Environment}-iphoneos
Environment is set to Stage and the directory /Users/Shared/Jenkins/Home/jobs/HotelSearch_iPhone_stage/workspace/build/Stage-iphoneos does exist.
BTW: for your issue Dan, as a workaround, what happens if you do just specify Release for configuration? Does it break the workspace build?