viviyoung
viviyoung

Reputation: 99

IOS integrated unity 4.6.3 project(64-bit && IL2CPP). Appear the following such a mistake, how to fix it?

I want to add Unity to an existing ios Project,I have matched all the configuration of the two project, and import the frameworks. I set Other Linker Flags : -weak_framework; -weak-lSystem; CoreMotion. just like the Unity Project. and the error is: clang: error: no such file or directory: 'CoreMotion' when I deleted "CoreMotion" in Other Linker Flags, error changes: ld: framework not found -weak-lSystem

how to fix it?

Upvotes: 2

Views: 290

Answers (1)

J1337
J1337

Reputation: 21

I have found that the order of the flags are important

It should be in this order : -weak_framework CoreMotion -weak-lSystem;

Upvotes: 2

Related Questions