spotify / XCRemoteCache

Other
825 stars 50 forks source link

Set libtool Build Setting for excluded sdks #198

Closed polac24 closed 1 year ago

polac24 commented 1 year ago

As reported in #190, if LIBTOOL Build setting is set to "", static library cannot build ObjC files and fails with a cryptic error:

unable to spawn process '/Applications/Xcode.app/Contents/SharedFrameworks/XCBuild.framework/Versions/A/PlugIns/XCBBuildService.bundle/Contents/Frameworks/../../../../../../../../PlugIns/XCBSpecifications.ideplugin/Contents/Resources' (Permission denied)

This PR sets it to the original libtool value so for excluded wachOS, it looks like:

image

This workaround is added to the cocoapods and standalone integrations.