mapbox-maps-ios icon indicating copy to clipboard operation
mapbox-maps-ios copied to clipboard

Code signing fails for Mac Catalyst target apps

Open wmanth opened this issue 1 year ago • 0 comments

Environment

  • Xcode version: 15.2
  • iOS version: 17.0
  • Devices affected: Mac Catalyst
  • Maps SDK Version: 11.2.0

Observed behavior and steps to reproduce

  1. In Xcode create an iOS app project following the basic installation guide
  2. Select Mac Catalyst as target and build the project

The build process stops with an error message in the code signing step:

/Users/wmanth/Library/Developer/Xcode/DerivedData/MapboxSDKTest-hdbvkctylxwyvxdzkkvlzilxyjuo/Build/Products/Debug-maccatalyst/MapboxSDKTest.app: code object is not signed at all
In subcomponent: /Users/wmanth/Library/Developer/Xcode/DerivedData/MapboxSDKTest-hdbvkctylxwyvxdzkkvlzilxyjuo/Build/Products/Debug-maccatalyst/MapboxSDKTest.app/Contents/Frameworks/MapboxCoreMaps.framework
Command CodeSign failed with a nonzero exit code

Expected behavior

The app project builds successfully for Mac Catalyst target.

Notes / preliminary analysis

The bundle structure for the dependent MapboxCoreMaps framework is corrupt.

Additional links and references

Detailed description could be found in https://github.com/mapbox/mapbox-core-maps-ios/issues/148

wmanth avatar Mar 06 '24 16:03 wmanth