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

OHAttributedLabel was rejected as an implicit dependency for 'libOHAttributedLabel.a' because its architectures '' didn't contain all required architectures 'x86_64' #165

Closed
PGSeattle opened this issue Oct 15, 2013 · 3 comments

Comments

@PGSeattle
Copy link

This is just a build warning (Resolving target dependencies), but is there any way to fix this?

This warning only appears when selecting the iPhone Retina (4-inch 64-bit) simulator.

@AliSoftware
Copy link
Owner

How do you include OHAttrbutedLabel ?

  • Using CocoaPods (the most recommended way)? If so, did you upgrade CP to at least 0.25.0, version that supports Xcode5 and the arm64 architecture.
  • Adding the xcodeproj as a side project of your own app project in the same workspace (recommended way if you don't use CocoaPods already, even if you should as it makes libraries integration much easier)
  • Any other non-recommended way?

If you created your own project, did you try to use "Validate Project Settings" in the Product menu after selecting your various xcodeproj projects in your workspace?

In any case, as with any other static library you include in your project, be sure it is configured to contain all the possible architectures (including arm64 now). "Validate Project Settings" usually fixes that for you (among other things) if not the case already.

@AliSoftware
Copy link
Owner

Hi there,

In any case, as with any other static library you include in your project, be sure it is configured to contain all the possible architectures (including arm64 now)

Following the information you gave me by email, that was indeed because the "Valid Architectures" settings was not including arm64, as I already suggested above. (It was improperly forced to i386 armv6 armv7 and I didn't update this since this new architecture was released, my bad).

Anyway, I fixed it (by simply removing the "Valid Architectures" setting override) in my latest commit e732f6c , so you should be good to go now, even when integrating the library manually.

Note: Of course, anyone using CocoaPods wasn't affected by the issue, as CocoaPods magic already takes care of configuring everything like those settings for us properly.

@PGSeattle
Copy link
Author

Awesome! Thank you for your help!

AlvaroBro added a commit to spotbros/OHAttributedLabel that referenced this issue Sep 5, 2017
…abel

* 'master' of https://github.com/AliSoftware/OHAttributedLabel: (40 commits)
  Version bump : more depreciation details
  README
  Fix formatting in README
  Update README.md
  Deprecating the library in favor of DTCoreText, as I don't have time to maintain it anymore.
  lineSpacing treatment upgrade
  64bit support has been improved with 'tgmath.h' header.
  64bit support has been implemented.
  Gitignore file has been improved.
  Fix AliSoftware#165
  Bumped version to 3.5.3 (after merge of AliSoftware#166)
  resolve undeclared selector warning
  Fixed README ToC
  Bumped version to 3.5.2
  Remove all traces of non-ARC
  Bumped version to 3.5.1
  Add requires ARC - it's best to use ARC, so let's make it use it
  Fix where the highlight is made. This fixes highlights that span multiple lines because the highlight range was not being calculated correctly for subsequent lines.
  Fix leak of the gesture recogniser
  Bumped version to 3.5
  ...
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

2 participants