-
Couldn't load subscription status.
- Fork 1k
Closed
Milestone
Description
Bug Report
Problem
Can't compile a project which has Pod distributed as Swift Static Library.
What is expected to happen?
The Project should compile without any errors
What does actually happen?
The Project compiles with the below error:
<unknown>:0: error: module map file '/Users/sachinvas/Library/Developer/Xcode/DerivedData/MyApp-djlbvgkjcelsaocynsvraskofynn/Build/Products/Debug-iphonesimulator/Starscream/Starscream.modulemap' not found
<unknown>:0: error: module map file '/Users/sachinvas/Library/Developer/Xcode/DerivedData/MyApp-djlbvgkjcelsaocynsvraskofynn/Build/Products/Debug-iphonesimulator/Starscream/Starscream.modulemap' not found
<unknown>:0: error: underlying Objective-C module 'SocketIO' not found
/Users/sachinvas/Projects/Private/myapp/platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngine.swift:27:8: error: cannot load underlying module for 'Starscream'
import Starscream
Information
I am trying to run the example app in here.
The -fmodule-map-file flag has two different path's
xcodebuild
-fmodule-map-file=/Users/sachinvas/Library/Developer/Xcode/DerivedData/MyApp-djlbvgkjcelsaocynsvraskofynn/Build/Products/Debug-iphonesimulator/Starscream/Starscream.modulemap
Xcode UI
-fmodule-map-file=/Users/sachinvas/Projects/Private/myapp/platforms/ios/Pods/Headers/Public/Starscream/Starscream.modulemap
Command or Code
cordova platforms add ios
cordova build ios (Device Only)
Environment, Platform, Device
iOS 10.0 or higher
iPhone 7
Version information
cordova-ios 5.0.1
cordova-cli latest
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above
Metadata
Metadata
Assignees
Labels
No labels