我使用auth0在阵营机iOS项目,我已经完成以下步骤:的XCode链接器命令失败 - 找不到目录
首先,你需要运行下面的命令来安装反应母语锁 npm install --save react-native-lock
之后,链接反应天然锁与您的iOS项目: react-native link react-native-lock
当运行上面,安装的CocoaPods所有成功安装几个依赖关系:
Adding Podfile to iOS project
Installing Pods
Analyzing dependencies
Downloading dependencies
Using AFNetworking (3.1.0)
Using Lock (1.28.2)
Using Masonry (0.6.4)
Using SimpleKeychain (0.7.0)
Using TouchIDAuth (0.2.0)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 4 dependencies from the Podfile and 5 total pods installed.
在我Project > Build Settings > Other Linker Flags
我:
lc++
${inherited}
-ObjC
然而,当我生成项目,以我的身体iPhone,我得到这个错误,每installed
依赖性:
ld: warning: directory not found for option '-L/Users/dan/Library/Developer/Xcode/DerivedData/myapp-acmwajylejkvendtsdryuouwuvnl/Build/Products/Debug-iphoneos/AFNetworking'
谁能帮我请解决这个错误?
没有你的项目包含.PCH文件? –
我的应用程序中没有.pch文件。 – Dan
好的,你的MAC有哪些操作系统? –