vincentneo / CoreGPX

A library for parsing and creation of GPX location files. Purely Swift.
https://www.vincent-neo.com
MIT License
261 stars 57 forks source link

CoreGPX.modulemap not found again #90

Closed jdleung closed 2 years ago

jdleung commented 3 years ago

I had reported CoreGPX.modulemap not found before, and fixed it by new version CocoaPods and Xcode.

Today such error came out again after I added use_frameworks! in Podfile. It works again when I remove use_frameworks!.

I have latest CocoaPods and Xcode installed.

vincentneo commented 3 years ago

seems to work fine from my end, tried with a new project, and I have always used use_frameworks! in any of my projects.

May I know more information about the issue? Are you targeting the cocoa pods version 0.8.2 or master branch?

jdleung commented 3 years ago

There was a line in Other Swift Flags -fmodule-map-file="${PODS_CONFIGURATION_BUILD_DIR}/CoreGPX/CoreGPX.modulemap"

CoreGPX works with use_frameworks! after deleted the line. Thanks.

vincentneo commented 3 years ago

To be honest, I have no ideas what went wrong, but I have a feeling its another CocoaPods quirk as it commonly happens

vincentneo commented 2 years ago

@jdleung I will be closing this, since its almost 1 year since last interaction. Think CoreGPX needs some housekeeping 😅