-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shell Script Error During Archive: No such file or directory #21
Comments
Not sure what's up with that. I just archived an app that includes ParcelKit without any issues. How are you including ParcelKit in your app? I recommend including it as a Framework as described in the https://github.com/overcommitted/ParcelKit/blob/master/README.md |
I was able to get it to build by removing the run script phases. I am not sure, by looking at the project, what advantage there is to adding it as a framework (vs static library) since I don't see any assets like images, bundles, etc. in the project. Am I missing something? |
You can certainly add it as a static library and then manually include the necessary headers. I find including it as a Framework much simpler as it's all encompassing. I'm guessing you included the ParcelKit.xcodeproj within your Xcode project which is why it was trying to execute the run script phases. The run script phases in the ParcelKit.xcodeproj are there to generate the ParcelKit.framework. Guessing something isn't setup correctly when the ParcelKit Xcode project is included in another Xcode project. |
That is precisely what I am doing. When a static library is included as a sub project AND there is a Copy Headers build phase for the relevant headers, XCode takes care of making sure that they are included in the proper search paths for the enclosing project. I appreciate you taking time to respond. |
Interesting, I did not know that Xcode would do that for sub projects. Pretty cool. I wonder if there is a way inside the run script phases to detect if the project has been included as a sub project so it can skip the framework generating stuff. |
The last demo of this 2012 video shows the 'Apple preferred' way of using static libraries and subprojects. Skip to the last 15-20 minutes. Working with Schemes and Projects in Xcode I'm really excited that Apple have (finally!) brought real frameworks to iOS 8. |
Thanks for the link to the video! Definitely excited about real frameworks on iOS 8. |
I am attempting to do an archive build of my application and keep getting this error during the execute shell script phase:
This occurs in Xcode 5.1.1, Xcode 6 b2. I encounter this problem whether it is in the context of the app or the standalone archive of the framework. Any tips?
The text was updated successfully, but these errors were encountered: