简体   繁体   中英

Why doesn't this iOS project build using XCode 11?

I have an iphone app (Swift project) that used to build using an older version of XCode, but I haven't built it for a year (I updated my XCode) and now I can't build it. I tried everything I found after googling the problem. I get this error every time I try to build it:

unable to spawn process (No such file or directory) (in target 'CombineDataSources' from project 'Pods')

I don't get any other error when I try to build the project, just this one. I tried cleaning the build folder, deleting all pods (Library/Cashes/CocoaPods/Pods), deleting derived data (Library/Developer/XCode/DerivedData), deleting the xcworkspace file, then running pod deintegrate command in terminal, then running pod install command in terminal.

Analyzing dependencies
Downloading dependencies
Installing CombineDataSources (0.2.2)
...
Generating Pods project
Integrating client project
Pod installation complete! There are 14 dependencies from the Podfile and 20 total pods installed.

Podfile (part that contains the package that's part of the Xcode error):

pod 'CombineDataSources', '~> 0.2.2'

Podfile.lock (part that contains the package that's part of the Xcode error):

PODS:
- CombineDataSources (0.2.2)

DEPENDENCIES:
- CombineDataSources (~> 0.2.2)

SPEC REPOS:
trunk:
- CombineDataSources

SPEC CHECKSUMS:
CombineDataSources: 2315365365i8746865375

All pods were successfully installed, no errors, no warnings, but my project still gives the unable to spawn process error. Anyone has any idea what else I could try? Any help, any suggestion would be very much appreciated!

I cannot manage to find the spec 0.2.2 in neither the CombineDataSources nor in the specs repo;

The 0.2.2 release seems that doesn't contain the podspec.

In repo not found: https://github.com/CombineCommunity/CombineDataSources/tree/0.2.2

In cocoapod specs not found: https://github.com/CocoaPods/Specs/search?q=combinedatasources&unscoped_q=combinedatasources

Only the latest version seems to contain a podspec. (0.2.5)

Could you try with to pod install or bundle exec pod install with that version?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM