Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode Cloud support for version 2.0.0+ #187

Closed
AlfredReisner opened this issue Mar 6, 2024 · 8 comments · May be fixed by #215
Closed

Xcode Cloud support for version 2.0.0+ #187

AlfredReisner opened this issue Mar 6, 2024 · 8 comments · May be fixed by #215

Comments

@AlfredReisner
Copy link

Hello Mapbox Search team,

we are using Xcode Cloud as internal CI pipeline to build the mapbox-search-ios framework 2.0.0-rc.2 setup with SPM.
When building with Xcode 15.3+ we are receiving the follow configuration error:

Invalid Bundle. The bundle *.app/Frameworks/MapboxCoreSearch.framework does not support the minimum OS Version specified in the Info.plist.

The bundle 'Payload/*.app/Frameworks/MapboxCoreSearch.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring

This bundle Payload/*.app/Frameworks/MapboxCoreSearch.framework is invalid. The Info.plist file is missing the required key: CFBundleVersion. Please find more information about CFBundleVersion at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion

Could u please have a look to fix the configuration for us?
If u need any additional information, please reach out to us.

Thanks.

@aokj4ck
Copy link
Contributor

aokj4ck commented Mar 12, 2024

Hi @AlfredReisner I'm setting up my own Xcode Cloud environment on a development branch to help triage this issue. Was Xcode Cloud previously working correctly with earlier versions of Xcode or Mapbox SDKs? Can you share your minimum OS version for your project?

@AlfredReisner
Copy link
Author

Hi, v2.0.0+ still works when we build the pipeline on Xcode 15.2. Only Xcode 15.3+ drops this configuration error.
Our minimum OS version is iOS 16.0. We are also using Mapbox-Maps 11.1.0 and Mapbox-Directions 2.11.1. No issues occur on these SDKs.

@aokj4ck
Copy link
Contributor

aokj4ck commented Mar 21, 2024

@AlfredReisner I have a draft pull request available which will update MapboxCoreSearch.framework at #196. This version of MapboxCoreSearch is built using Xcode 15.3.

If you wouldn't mind, please try building your app with the MapboxSearch package fetching from branch SSDK-643-upgrade-search-core-alpha.14 [link to branch].

Screenshot 2024-03-21 at 11 03 44

@AlfredReisner
Copy link
Author

AlfredReisner commented Mar 27, 2024

@aokj4ck Unfortunately the pipeline drops the same configuration error using the mentioned branch. Maybe to clarify a bit more again. We can build the framework using Xcode 15.3 locally. It is just Xcode Cloud which drops the error and prevents us to build the project. As a workaround for now we stay on Xcode 15.2 with 2.0.0-rc.2 set as dependency but it would be great to get this fixed in future releases.

@aokj4ck aokj4ck linked a pull request Apr 17, 2024 that will close this issue
1 task
@aokj4ck
Copy link
Contributor

aokj4ck commented Apr 17, 2024

@AlfredReisner and to confirm are you using SPM for your mapbox-search-ios dependency, or another system?

@AlfredReisner
Copy link
Author

@aokj4ck Yes, that is correct.

@aokj4ck
Copy link
Contributor

aokj4ck commented May 14, 2024

@AlfredReisner please update to our latest release v2.0.3 and let me know if you encounter any issues. https://github.com/mapbox/mapbox-search-ios/releases/tag/v2.0.3

@AlfredReisner
Copy link
Author

@aokj4ck v2.0.3 solves the issue.
Thanks a lot!

@aokj4ck aokj4ck closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants