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

Run iOS size test on CI #1092

Closed
louwers opened this issue May 1, 2023 · 1 comment · Fixed by #1122
Closed

Run iOS size test on CI #1092

louwers opened this issue May 1, 2023 · 1 comment · Fixed by #1122
Assignees
Labels
github_actions Pull requests that update GitHub Actions code iOS

Comments

@louwers
Copy link
Collaborator

louwers commented May 1, 2023

@alexcristici created an iOS size test.

#943

We have a developer team now so this can be run on CI.

@louwers louwers added iOS github_actions Pull requests that update GitHub Actions code labels May 1, 2023
@louwers louwers self-assigned this May 1, 2023
@louwers
Copy link
Collaborator Author

louwers commented May 4, 2023

I am having a lot of challenges with this.

I spend some time fiddling with manually generated provisioning profiles and certificates, but I would always get errors about the right profiles and certificates not being available. So I set up a new macOS runner with macOS 13.3 so I could login in and pull the provisioning profile automatically.

Right now due to #788 only CMake 3.24 works, otherwise xcodebuild fails with the -lmbgl-core linking error... I didn't want to downgrade CMake but I found out that adding

LIBRARY_SEARCH_PATHS='$(LIBRARY_SEARCH_PATHS) '"$(PWD)/build/ios/$BUILD_CONFIGURATION-iphoneos"

as an argument to xcodebuild makes it link again.

Now I get another code signing related error

/Users/ec2-user/maplibre-native/platform/ios/build/ios/ArchiveIntermediates/iosapp/InstallationBuildProductsLocation/Applications/MapLibre GL.app/Frameworks/Mapbox.framework: errSecInternalComponent

A common problem which I have not found a solution for yet.

Will let this rest for a bit but maybe I should look into fastlane.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code iOS
Projects
Development

Successfully merging a pull request may close this issue.

1 participant