DoSomethingArchive / LetsDoThis-iOS

:iphone: iOS source code for DoSomething: Take Action on the News
http://app.dosomething.org
MIT License
2 stars 0 forks source link

Cocoapods 1.0.0 #1030

Closed aaronschachter closed 8 years ago

aaronschachter commented 8 years ago

Closes #1029 -- Updated Cocoapods locally to 1.0.0, updates project accordingly.

Also fixes #1004 by moving the React pod into the target per http://stackoverflow.com/a/28116102/1470725

The only issue I'm running into is builds on the Thor scheme fail:

ld: library not found for -lPods clang: error: linker command failed with exit code 1 (use -v to see invocation)

Working ok for Debug and Release.

aaronschachter commented 8 years ago

Running pod install outputs a [!] [Xcodeproj] Generated duplicate UUIDs: warning, which sounds suppressable.

Thor may be failing because of this change to Podfile DSL:

All targets have to be explicitly defined in the Podfile, and their names have to match up with the target name in Xcode.

Last line in Podfile (introduced in #452):

xcodeproj 'Lets Do This', 'Thor' => :release, 'Debug' => :debug, 'Release' => :release
aaronschachter commented 8 years ago

Last comment was not the fix -- following these steps on SO and by removing this selected libPods framework is getting Thor scheme to successfully build again:

screen shot 2016-05-24 at 12 12 03 pm
aaronschachter commented 8 years ago

@lkpttn You'll need to run sudo gem install cocoapods locally to update to Cocoapods 1.0.0