• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by Fcaldas · Nov 27, 2015 at 09:58 AM · animationarchitectureios7armv7

ld: warning: ignoring file libiPhone-lib.a

Hi everyone,

Been battling against t$$anonymous$$s issue for 4 days now. Completely out of ideas. I am using: Unity 5.2.3f1 Xcode 7.1.1 Mac OS El Capitan 10.11.1

I have managed to release the project for Android without any issues. When I export it to Xcode, I am getting 201+ errors, as apparently Xcode is ignoring the libiPhone-lib.a library due to wrong arc$$anonymous$$tecture.

In Unity, I export the project with the following: alt text

The project in Xcode is target to iOS 7.0 and the arc$$anonymous$$tectures are: alt text

I have removed all my assets (InApp purchases, Analytics, Admob) and still get the same problem. So it's not assets/plugins.

Finally, t$$anonymous$$s is the message I see:

Ld /Users/xxxxxx/Library/Developer/Xcode/DerivedData/Unity-iPhone-brqbnhelddpaphdduyeijxqtdbzd/Build/Intermediates/Unity-iPhone.build/Release-iphonesimulator/Unity-iPhone.build/Objects-normal/x86_64/xxxxx normal x86_64 cd /Users/fcaldas/projects/iOS_untracked/xxxxxx export IPHONEOS_DEPLOYMENT_TARGET=7.0 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.1.sdk -L/Users/xxxxx/Library/Developer/Xcode/DerivedData/Unity-iPhone-brqbnhelddpaphdduyeijxqtdbzd/Build/Products/Release-iphonesimulator -L/Users/fcaldas/projects/iOS_untracked/xxxxx -L/Users/xxxx/projects/iOS_untracked/xxxx/Libraries -L/Users/xxxxx/projects/iOS_untracked/xxxxx/Libraries/Plugins/iOS -F/Users/xxxxx/Library/Developer/Xcode/DerivedData/Unity-iPhone-brqbnhelddpaphdduyeijxqtdbzd/Build/Products/Release-iphonesimulator -F/Users/xxxxx/projects/iOS_untracked/xxxxx -filelist /Users/xxxxx/Library/Developer/Xcode/DerivedData/Unity-iPhone-brqbnhelddpaphdduyeijxqtdbzd/Build/Intermediates/Unity-iPhone.build/Release-iphonesimulator/Unity-iPhone.build/Objects-normal/x86_64/xxxxx.LinkFileList -Xlinker -map -Xlinker /Users/xxxxx/Library/Developer/Xcode/DerivedData/Unity-iPhone-brqbnhelddpaphdduyeijxqtdbzd/Build/Intermediates/Unity-iPhone.build/Release-iphonesimulator/Unity-iPhone.build/xxxxx-LinkMap-normal-x86_64.txt -mios-simulator-version-min=7.0 -Xlinker -objc_abi_version -Xlinker 2 -weak_framework CoreMotion -weak-lSystem -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -framework CoreText -framework AudioToolbox -weak_framework AVFoundation -framework CFNetwork -framework CoreGrap$$anonymous$$cs -framework CoreLocation -framework CoreMedia -weak_framework CoreMotion -framework CoreVideo -framework Foundation -weak_framework iAd -framework MediaPlayer -framework OpenAL -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -framework UIKit -liconv.2 -framework GoogleMobileAds -liPhone-lib -lGoogleAnalyticsServices -framework StoreKit -framework Security -weak_framework AdSupport -Xlinker -dependency_info -Xlinker /Users/xxxxx/Library/Developer/Xcode/DerivedData/Unity-iPhone-brqbnhelddpaphdduyeijxqtdbzd/Build/Intermediates/Unity-iPhone.build/Release-iphonesimulator/Unity-iPhone.build/Objects-normal/x86_64/xxxxx_dependency_info.dat -o /Users/xxxx/Library/Developer/Xcode/DerivedData/Unity-iPhone-brqbnhelddpaphdduyeijxqtdbzd/Build/Intermediates/Unity-iPhone.build/Release-iphonesimulator/Unity-iPhone.build/Objects-normal/x86_64/xxxx

ld: warning: ignoring file /Users/xxxx/projects/iOS_untracked/xxx/Libraries/libiPhone-lib.a, missing required arc$$anonymous$$tecture x86_64 in file /Users/xxxx/projects/iOS_untracked/xxxx/Libraries/libiPhone-lib.a (3 slices) Undefined symbols for arc$$anonymous$$tecture x86_64:
"_NSOverwriteMergePolicy", referenced from: -[GAIDataStore contextWithModel:URL:] in libGoogleAnalyticsServices.a(GAIDataStore.o) "_NSSQLiteErrorDomain", referenced from: -[GAIDataStore performBlockAndWait:withError:] in libGoogleAnalyticsServices.a(GAIDataStore.o) "_NSSQLiteStoreType", referenced from: -[GAIDataStore coordinatorWithModel:URL:] in libGoogleAnalyticsServices.a(GAIDataStore.o) "OBJC_CLASS$_NSAttributeDescription", referenced from: objc-class-ref in libGoogleAnalyticsServices.a(GAICoreDataUtil.o) "OBJC_CLASS$_NSEntityDescription", referenced from: objc-class-ref in libGoogleAnalyticsServices.a(GAIDataStore.o) objc-class-ref in libGoogleAnalyticsServices.a(GAICoreDataUtil.o) "OBJC_CLASS$_NSFetchRequest", referenced from: objc-class-ref in libGoogleAnalyticsServices.a(GAIDataStore.o) "OBJC_CLASS$_NSManagedObjectContext", referenced from: objc-class-ref in libGoogleAnalyticsServices.a(GAIDataStore.o)

etc...

Any idea, guys? Thank you.

screen-shot-2015-11-27-at-82203-pm.png (77.3 kB)
screen-shot-2015-11-27-at-82738-pm.png (63.6 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Fcaldas · Dec 12, 2015 at 03:42 AM

That's pretty sad. The error goes away if you test if the device itself, and not simulator. So somet$$anonymous$$ng with the simulator....

For now, I am testing with the device

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by binhminh07 · Dec 12, 2015 at 03:40 AM

me too, with unity 5.3.0f4

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Nirbhays · Mar 28, 2017 at 07:09 AM

T$$anonymous$$s error encounter because libAVProVideoiOS.a and libgvrunity.a library are not supported to armv7s , you can use lipo -info libgvrunity.a command from terminal to check its archetecture.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

49 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Build with IL2CPP, Tap Start, Blackscreen 0 Answers

Published with Arm64, but want to use Universal getting errors! 1 Answer

Best way to switch cameras during an animation? 1 Answer

The animation still counting,The animation keeps counting 0 Answers

Animation Frame Event - only via a mesh? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges