CocoaPods libraries errors building for some iOS simulators

前端 未结 2 1614
南笙
南笙 2021-01-23 03:29

Short error:

file was built for archive which is not the architecture being linked (i386)

Expanded:
For some simulators, I receive these e

2条回答
  •  野性不改
    2021-01-23 04:17

    I found the solution.

    I removed the directory /Users/admin/Library/Developer/Xcode/DerivedData/myApp-ekwldvjyuxwkykbareyvvydbtero/Build (right click on the library of CocoaPods > Show in Finder, then find its parent directory) and rebuild all again. Xcode recreated all libraries which works right now. All build preferences are the same as default.

提交回复
热议问题