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

Warnings with Xcode 7 Braintree 3.9.4 #175

Closed
keith opened this issue Sep 29, 2015 · 7 comments
Closed

Warnings with Xcode 7 Braintree 3.9.4 #175

keith opened this issue Sep 29, 2015 · 7 comments

Comments

@keith
Copy link

keith commented Sep 29, 2015

It looks like 3.9.4 introduced some new warnings in Xcode 7. Here's an abridged version:

warning: /var/folders/24/trhmyjjs5vz66nb_gh1nbgjw8lb22l/C/org.llvm.clang.pdn/ModuleCache/1WDYJP55W3F0N/ObjectiveC-1RQA2RIXJIE19.pcm: No object file for requested architecture
while processing /Users/ksmiley/Desktop/BraintreeWarnings/Pods/Braintree/Braintree/Data/libDeviceCollectorLibrary.a(GeoLocationCollector.o):
warning: /var/folders/24/trhmyjjs5vz66nb_gh1nbgjw8lb22l/C/org.llvm.clang.pdn/ModuleCache/1WDYJP55W3F0N/Security-T0W5HZGV3ZZ1.pcm: No such file or directory
while processing /Users/ksmiley/Desktop/BraintreeWarnings/Pods/Braintree/Braintree/Data/libDeviceCollectorLibrary.a(GeoLocationCollector.o):
warning: /var/folders/24/trhmyjjs5vz66nb_gh1nbgjw8lb22l/C/org.llvm.clang.pdn/ModuleCache/1WDYJP55W3F0N/Security-T0W5HZGV3ZZ1.pcm: No object file for requested architecture
while processing /Users/ksmiley/Desktop/BraintreeWarnings/Pods/Braintree/Braintree/Data/libDeviceCollectorLibrary.a(GeoLocationCollector.o):
warning: Could not resolve external type c:objc(cs)NSObject
while processing /Users/ksmiley/Desktop/BraintreeWarnings/Pods/Braintree/Braintree/Data/libDeviceCollectorLibrary.a(GeoLocationCollector.o):
warning: Could not resolve external type c:objc(cs)NSObject
while processing /Users/ksmiley/Desktop/BraintreeWarnings/Pods/Braintree/Braintree/Data/libDeviceCollectorLibrary.a(GeoLocationCollector.o):
warning: Could not resolve external type c:objc(cs)NSString
while processing /Users/ksmiley/Desktop/BraintreeWarnings/Pods/Braintree/Braintree/Data/

I'm able to reproduce this with a fresh project and a Podfile only containing:

platform :ios, "8.0"

use_frameworks!

pod 'Braintree'
pod 'Braintree/Data'

I found a thread on the developer forums about this here but the mentioned solution doesn't fix this.

@intelliot
Copy link
Contributor

We're looking into this. Thanks for your patience!

intelliot added a commit to intelliot/Issue175 that referenced this issue Oct 5, 2015
@intelliot
Copy link
Contributor

Hi @keith

These warnings should now be fixed in master (as of 0f1b297). Example Podfile:

platform :ios, "8.0"

use_frameworks!

pod 'Braintree', :git => 'https://github.com/braintree/braintree_ios.git', :branch => 'master'
pod 'Braintree/Data', :git => 'https://github.com/braintree/braintree_ios.git', :branch => 'master'

Try this and let me know if it resolves the issue. Thanks!

@keith
Copy link
Author

keith commented Oct 7, 2015

Awesome! It looks like this fixed it thanks! Will there be a new release soon including this?

@intelliot
Copy link
Contributor

Yes, we'll work on doing a release shortly. Thanks!

@intelliot
Copy link
Contributor

@keith
Copy link
Author

keith commented Oct 9, 2015

Awesome! Thanks so much @intelliot !

@Blahartinger
Copy link

@intelliot just curious what actually caused these errors to begin with. I'm seeing the same thing with another third party library from Google (GoogleSignIn) and wanted to pass on the information to them to try and get it fixed promptly. I assume it was something to do with how that static library was built?

If you had any information you could share or reference that I could read up on about it I'd be much obliged!

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

3 participants