You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How are you integrating Core Plot into your app? CocoaPods? Building from source from GitHub? Make sure you're using the latest code from the release-2.4 branch.
Yes, l'm using the latest release-2.4 branch and building from source. core-plot has been integrated into our projects for close to 10 years. Both are mixed projects with Objective-C and Swift and both are failing to build with the same error.
I was wondering if there was any update on this issue? Without the fix we are not able to make any development or production builds as our apps are heavily dependent on core-plot.
Unfortunately, I can't share the project code at this time. However, I do have more information. The last build that works is e0b8dd1. Here is some additional info from our developer:
"After that build there are various issues: with module verifier error; with double quoted includes error; and last one with a module map error."
He also believes that creating an empty project in Xcode with iOS app and importing core-plot source code directly into it would produce this error. I haven't tried it yet.
Same problem here. I've been rebuilding all my apps that use CorePlot with the release-2.4 branch. Three worked fine, but the fourth fails and fails, even after rebuilding from scratch always with 'CorePlot.h" not found in file xxx.m even though #import "CorePlot.h" is in file xxx.h.
That sounds like an issue with the build configuration of your app. The Mac CPTTestApp example app (Objective-C) uses module references and two of the example apps (DatePlot and the iPhone CPTTestApp) are written in Swift. Pull the latest code from the release-2.4 branch and see if you can build those apps.
Take a look at the CorePlot framework in your build folder. The Headers folder inside the framework should contain 68 files, including CorePlot.h and 67 with filenames beginning with CPT*.
Unfortunately we are facing a deadline and I can't dedicate the time to follow your suggestions. For now we will continue to build using the last version that works: e0b8dd1. I'll try debugging on my end after our release.
Activity
eskroch commentedon May 6, 2023
How are you integrating Core Plot into your app? CocoaPods? Building from source from GitHub? Make sure you're using the latest code from the
release-2.4branch.sprout-apps commentedon May 6, 2023
Yes, l'm using the latest release-2.4 branch and building from source. core-plot has been integrated into our projects for close to 10 years. Both are mixed projects with Objective-C and Swift and both are failing to build with the same error.
sprout-apps commentedon May 23, 2023
I was wondering if there was any update on this issue? Without the fix we are not able to make any development or production builds as our apps are heavily dependent on core-plot.
eskroch commentedon May 24, 2023
I suspect there's a project setting in your app that conflicts with recent updates to Core Plot done to fix various issues with the module interface.
Is there a way you could share your project or a stripped-down version with similar settings to help troubleshoot?
sprout-apps commentedon May 24, 2023
Unfortunately, I can't share the project code at this time. However, I do have more information. The last build that works is e0b8dd1. Here is some additional info from our developer:
"After that build there are various issues: with module verifier error; with double quoted includes error; and last one with a module map error."
He also believes that creating an empty project in Xcode with iOS app and importing core-plot source code directly into it would produce this error. I haven't tried it yet.
myoung959 commentedon Jun 16, 2023
Same problem here. I've been rebuilding all my apps that use CorePlot with the release-2.4 branch. Three worked fine, but the fourth fails and fails, even after rebuilding from scratch always with 'CorePlot.h" not found in file xxx.m even though #import "CorePlot.h" is in file xxx.h.
myoung959 commentedon Jun 16, 2023
Yes, I'll be happy to send you my source code.
eskroch commentedon Jun 16, 2023
My email address is listed in my profile. Thanks!
Changed all private headers to project headers to simplify module def…
eskroch commentedon Jul 8, 2023
I believe the build problems have been resolved on the
release-2.4branch. Please let me know if you're still seeing any issues.sprout-apps commentedon Jul 14, 2023
Thanks for making the changes. I just tested and unfortunately I'm still seeing the same issue:
Umbrella header 'CorePlot.h' not found
Could not build Objective-C module 'CorePlot'
eskroch commentedon Jul 15, 2023
Does the error occur when building Core Plot by itself or just when building your app?
sprout-apps commentedon Jul 16, 2023
No, I can build Core Plot by itself, so only when building the app. It's a mix of Objective-C and Swift.
eskroch commentedon Jul 16, 2023
That sounds like an issue with the build configuration of your app. The Mac
CPTTestAppexample app (Objective-C) uses module references and two of the example apps (DatePlotand the iPhoneCPTTestApp) are written in Swift. Pull the latest code from therelease-2.4branch and see if you can build those apps.Take a look at the CorePlot framework in your build folder. The
Headersfolder inside the framework should contain 68 files, includingCorePlot.hand 67 with filenames beginning withCPT*.sprout-apps commentedon Jul 18, 2023
Unfortunately we are facing a deadline and I can't dedicate the time to follow your suggestions. For now we will continue to build using the last version that works: e0b8dd1. I'll try debugging on my end after our release.