forked from phonegap/phonegap-plugin-push
-
Notifications
You must be signed in to change notification settings - Fork 283
Open
Description
Bug Report
After updating to cordova-ios@8.0.0, the build fails.
Expected Behaviour
Build suceeds.
Actual Behaviour
Build fails with the following error:
fatal error: module 'Cordova' in AST file '/Users/fue/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/15S67CMWV9I6I/Cordova-2GK02F7PBGH6O.pcm' (imported by AST file '/Users/fue/Library/Developer/Xcode/DerivedData/App-atgupcpkvrcalccpbpifbqpijpvw/Build/Intermediates.noindex/ArchiveIntermediates/App/PrecompiledHeaders/Bridging-Header-swift_DI8M2C4YIOG2-clang_15S67CMWV9I6I.pch') is not defined in any loaded module map file; maybe you need to load '/Users/fue/Library/Developer/Xcode/DerivedData/App-atgupcpkvrcalccpbpifbqpijpvw/Build/Intermediates.noindex/ArchiveIntermediates/App/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/Cordova.modulemap'?
note: consider adding '/Users/fue/Library/Developer/Xcode/DerivedData/App-atgupcpkvrcalccpbpifbqpijpvw/Build/Intermediates.noindex/ArchiveIntermediates/App/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos' to the header search path
note: imported by '/Users/fue/Library/Developer/Xcode/DerivedData/App-atgupcpkvrcalccpbpifbqpijpvw/Build/Intermediates.noindex/ArchiveIntermediates/App/PrecompiledHeaders/Bridging-Header-swift_DI8M2C4YIOG2-clang_15S67CMWV9I6I.pch'
note: this is generally caused by modules with the same name found in multiple paths
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Reproducible with new cordova project with just ios and the plugin added, for example:
cordova create hello com.example.hello HelloWorldcordova platform add ioscordova plugin add @havesource/cordova-plugin-pushcordova preparecordova build
Platform and Version
iOS
cordova info Printout
Cordova Packages:
cli: 13.0.0
common: 6.0.0
create: 6.0.0
lib: 13.0.0
common: 6.0.0
fetch: 5.0.0
Project Installed Platforms:
ios: 8.0.0
Project Installed Plugins:
@havesource/cordova-plugin-push: 7.0.0
Environment:
OS: Sequoia 15.4 (24E248) (darwin 24.4.0) x64
Node: v20.11.1
npm: 10.2.4
ios Environment:
xcodebuild:
Xcode 16.2
Build version 16C5032a
Project Setting Files:
config.xml:
package.json:
--- Start of Cordova JSON Snippet ---
{
"platforms": [
"ios"
]
}
--- End of Cordova JSON Snippet ---
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels