The problem seems not new, as here, but the solutions proposed didn't work. I tried also several other approaches to understand what's going on (see here). To replicate, this is the process:
I have a working iOS App written in Swift.
I follow the description to integrate this app with Native React this procedure
I add to the package.json the following dependencies, and run
yarn install
:"@react-native-mapbox-gl/maps":"^8.1.0-rc.9",
"prop-types": "^15.6.2",
I run
pod install --repo-update
and Archive on Xcode. OUTPUT: At this point the organizer displays my Archive.I implement a basic view on mapbox following this procedure
I add to the Podfile requiring
use_framework!
, as described here or afteruse_framework!
, no difference in the result after I hitpod install --repo-update
.I hit Archive on Xcode. OUTPUT: the archive is generated successfully, but doesn't show up on the organizer. If I try to open it, the archive is corrupted.
If I remove the pod file of mapbox and I Archive the project after hitting pod install --repo-update
, the archive works and shows up in the organizer. Here the same description.
The project runs both as debug and release on a real iPhone 8. Mapbox works well. However, it doesn't work on simulator, nor archive. I can leave with the former, but I can't push on App store because of the latter.
I would not give up as Mapbox is very nice and provides lots of features. What could it be?