Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

Warning caused by old CardIO #288

Open
keith opened this issue Jun 25, 2018 · 3 comments
Open

Warning caused by old CardIO #288

keith opened this issue Jun 25, 2018 · 3 comments

Comments

@keith
Copy link
Contributor

keith commented Jun 25, 2018

General information

  • SDK/Library version: 5.4.1
  • iOS Version and Device: 11.x
  • Integration type and version: Manual

Issue description

We're seeing this warning along side the GoogleMaps SDKs:

ld: warning: Some object files have incompatible Objective-C category definitions. Some category metadata may be lost. All files containing Objective-C categories should be built using the same compiler.

Unfortunately the version of their that reproduces the issue is not public. We're trying to narrow this down, and we're assuming it's possibly caused by the version of Xcode the newest version of CardIO was compiled with (we've been told by Google they're building the SDK that reproduces this with Xcode 9.3.1).

Is there any way you could provide binaries built with a newer version of Xcode to help us test that theory?

@yas375
Copy link

yas375 commented Sep 20, 2018

We are using CardIO (5.3.2) installed through CocoaPods and seeing same warning.

Based on the way of finding which static lib was build with a too old Xcode described here, it suggests that libCardIO.a was built with an old version of Xcode which didn't support HasCategoryClassProperties which triggers this warning.

Would love to resolve that warning :)

@keith
Copy link
Contributor Author

keith commented Sep 20, 2018

You can build CardIO yourself to workaround this, the source can be found here https://github.com/card-io/card.io-iOS-source

@yas375
Copy link

yas375 commented Sep 20, 2018

Thanks Keith!

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

No branches or pull requests

2 participants