Skip to content
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

Cocoapods 0.38.1 failed to create valid Archive. #3889

Closed
rckoenes opened this issue Jul 24, 2015 · 16 comments
Closed

Cocoapods 0.38.1 failed to create valid Archive. #3889

rckoenes opened this issue Jul 24, 2015 · 16 comments

Comments

@rckoenes
Copy link

Since updating to cocoapods 0.38.1 I can't archive my app any more. It runs fine on the simulator and device. But when I archive my app it create a Generic Xcode Archive and not the expected iOS app archive.

I've looked all over and found that you should set the Skip install to yes on any sub project, which was set correctly. Als the main project has is set to NO.

The only difference I can see in the archive is an added directory:
screen shot 2015-07-24 at 15 11 01

This was never there and I can't find where is coming, Here is my Podfile:

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '7.0'

workspace 'MyApp.xcworkspace'

xcodeproj 'MyApp/MyApp.xcodeproj'
xcodeproj 'MyAppSDK/MyAppSDK.xcodeproj'

target :MyAppSDK, :exclusive => true  do
    link_with 'MyAppSDK'
    xcodeproj 'MyAppSDK/MyAppSDK.xcodeproj'

    pod 'AFNetworking'
    pod 'AFOAuth2Manager'
end

target :MyAppSDKTests, :exclusive => true  do
    xcodeproj 'MyAppSDK/MyAppSDK.xcodeproj'
end

target :MyApp, :exclusive => true do
    link_with ['MyApp', 'MyApp Test Live', 'MyApp Development', 'MyApp Test', 'MyApp Development-cal']
    xcodeproj 'MyApp/MyApp.xcodeproj'

    pod 'AFNetworking'
    pod 'AFOAuth2Manager'

    pod 'SVProgressHUD'
    pod 'TTTAttributedLabel'
    pod 'DTFoundation/UIKit_BlocksAdditions'
    pod 'Masonry'

    pod 'UrbanAirship-iOS-SDK'
    pod 'GoogleAnalytics'

end

target :MyAppTests, :exclusive => true do
    xcodeproj 'MyAppp/MyApp.xcodeproj'
    link_with 'MyAppTests'

    pod 'OCMockito'
end

(Xcode 6.4 on Yosemite)

@neonichu
Copy link
Member

Seems like the umbrella headers created by #3878 are actually being installed into the build product.

@rounak
Copy link

rounak commented Jul 25, 2015

I've been facing the same issue as well.

@pepicrft
Copy link

I'm affected as well!

@burakkilic
Copy link

+1 , I am also affected

@RishabhTayal
Copy link

+1, Having the same issue.

@segiddins
Copy link
Member

closed by #3898.

@nebiros
Copy link

nebiros commented Jul 27, 2015

Thank you for fixing this, <3

@RishabhTayal
Copy link

Thanks for fixing. Works now.

@pepicrft
Copy link

Thanks :)

@georgbachmann
Copy link

Is there something I am missing? I still have the problem. Used 0.38.2 which didn't work and the latest 0.39 beta4 is also not helping :( And I am pretty lost. Can't submit my app cause I can't get a valid iOS archive. Compiling directly onto my device works properly, but archiving doesn't :(

I already removed all pods and let it create a new project for me again... also no luck...
Any help is so much appreciated!

@rckoenes
Copy link
Author

Yep I'm still having the issue.

The path is now empty but still no valid archive.

@4tapsmobile
Copy link

Confirmed that 0.38.2 did not create a valid archive for me either.

@Dids
Copy link

Dids commented Sep 20, 2015

Even 0.39.0.beta.4 is broken. :(

@Dids
Copy link

Dids commented Sep 20, 2015

I can confirm that this fixed it for me:
#4119 (comment)

I did have to remember to remove the path from both private and public header search paths, and for all the pods, plus I also removed any derived data and cleaned the project.

@chasing
Copy link

chasing commented Sep 25, 2015

Seeing some issue relating to this, as well.

@ryanmeisters
Copy link

I had this issue as well. My last pod install was with Cocoapods 0.38.2. A simple pod install with Cocoapods 0.39.0 seems to have fixed the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests