Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
post_install App Extension for AFNetworking "undefined method `project'" Xcode 7 Beta 3 #3811
When using Cocoa Pods 0.37.2 and Xcode 7 Beta 3 attempting to make an archive I ran into Issue 3738 which according to it was resolved by the 0.38 beta.
The log of that error is below:
I then tried using 0.38.0.beta.2 but there was an error about an
The post install portion of my pod file looks like:
This all worked just fine with 0.37.2 but when using 0.38.0.beta.2 it now fails. Any ideas?
Yes, the post install script needs to be updated for 0.38, see the release notes at https://github.com/CocoaPods/CocoaPods/releases/tag/0.38.0.beta.2 for more information. The gist is,
Thanks for the tip, I changed project to pods_project and now it can run pod install successfully but the post install script is no longer being applied correctly. It doesn't appear to be applied at all.
If I revert to 0.37.2 and project it installs it correctly as the GCC_PREPROCESSOR_DEFINITIONS.
Any other ideas or can you point me to the specific release note that made this change, I was unable to figure it out from the release notes linked to.
The new post install looks like:
Thanks for the assistance.
Thanks, that got the project building with it applying using the updated target below:
Now when I go to make an archive I am running into this error:
Which I think is the same error as in the closed issue 3738. This was all with 0.38.beta.2, any ideas?