mapbox / mapbox/mapbox-maps-ios

Code signing fails for Mac Catalyst target apps

Open
#2,140 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged bug :beetle:
Dominant language
Swift
Stars
601
Forks
196
PR merge metrics
No merged PRs in 30d

Description

## 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](https://docs.mapbox.com/ios/maps/guides/install/)
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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the build from the basic installation guide with an iOS app using the Mac Catalyst target, then inspect the dependent MapboxCoreMaps framework bundle during the code-signing step. Read the linked mapbox-core-maps-ios issue for the detailed analysis; done means the app builds successfully for Mac Catalyst.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.