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 HelloWorld
cordova platform add ios
cordova plugin add @havesource/cordova-plugin-push
cordova prepare
cordova 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:
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:
Xcode 16.2
Build version 16C5032a
Project Setting Files:
HelloWorld
A sample Apache Cordova application that responds to the deviceready event.
Apache Cordova Team
--- Start of Cordova JSON Snippet ---
{
"platforms": [
"ios"
]
}
--- End of Cordova JSON Snippet ---
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:
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 buildPlatform and Version
iOS
cordova infoPrintoutCordova Packages:
Project Installed Platforms:
Project Installed Plugins:
Environment:
ios Environment:
Xcode 16.2
Build version 16C5032a
Project Setting Files:
--- Start of Cordova JSON Snippet ---
{
"platforms": [
"ios"
]
}
--- End of Cordova JSON Snippet ---