bykof / cordova-plugin-webserver

A webserver plugin for cordova
Other
119 stars 51 forks source link

Build fails for ios. GCDWebServer is not configured correctly? #78

Open FedericoBiro opened 5 months ago

FedericoBiro commented 5 months ago

Hello, i'm using Version 15.0.1 of xcode cordova 12.0.0 cordova-ios 6.3.0

if i build the project with command: cordova build ios i get: platforms/ios/build/emulator/GCDWebServer.framework/GCDWebServer normal (in target 'GCDWebServer' from project 'Pods') (1 failure) xcodebuild: Command failed with exit code 65

Anyone has a suggestion how to solve this issue?

dieterdreist commented 2 weeks ago

I am having similar issues, it seems the .a files are not included any more in the SDK, I get the error SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a'; try increasing the minimum deployment target from the GCDWebServer package. Looking at similar problems, people have worked around this by setting the iOS Version to 11, but it is not possible with current XCode where the minimum version is 12.