Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flutter ios swift erro build #94

Closed
brux88 opened this issue May 31, 2019 · 2 comments
Closed

flutter ios swift erro build #94

brux88 opened this issue May 31, 2019 · 2 comments
Labels
Help Wanted Extra attention is needed

Comments

@brux88
Copy link

brux88 commented May 31, 2019

hi, I have a flutter project and I have to use swift for the ios project, I followed the guide, but when I try to compile it gives me this error:

CompileSwift normal x86_64 /Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/OneSignalNotificationServiceExtension/NotificationService.swift
    cd /Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c -primary-file /Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/OneSignalNotificationServiceExtension/NotificationService.swift -emit-module-path /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/NotificationService~partial.swiftmodule -emit-module-doc-path /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/NotificationService~partial.swiftdoc -serialize-diagnostics-path /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/NotificationService.dia -emit-dependencies-path /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/NotificationService.d -emit-reference-dependencies-path /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/NotificationService.swiftdeps -target x86_64-apple-ios12.2-simulator -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk -I /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Products/Debug-iphonesimulator -I /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Products/Debug-iphonesimulator/BSGridCollectionViewLayout -I /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Products/Debug-iphonesimulator/BSImagePicker -I /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Products/Debug-iphonesimulator/BSImageView -I /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Products/Debug-iphonesimulator/multi_image_picker -F /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Products/Debug-iphonesimulator -F /Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/../.symlinks/flutter/ios -F /Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/FirebaseAnalytics/Frameworks -F /Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/GoogleAppMeasurement/Frameworks -F /Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/GoogleSignIn/Frameworks -F /Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework -application-extension -enable-testing -g -module-cache-path /Users/owner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity=checked -Onone -D DEBUG -D COCOAPODS -serialize-debugging-options -Xcc -working-directory -Xcc /Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios -enable-anonymous-context-mangled-names -Xcc -fmodule-map-file=/Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Products/Debug-iphonesimulator/BSGridCollectionViewLayout/BSGridCollectionViewLayout.modulemap -Xcc -fmodule-map-file=/Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Products/Debug-iphonesimulator/BSImagePicker/BSImagePicker.modulemap -Xcc -fmodule-map-file=/Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Products/Debug-iphonesimulator/BSImageView/BSImageView.modulemap -Xcc -fmodule-map-file=/Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Products/Debug-iphonesimulator/multi_image_picker/multi_image_picker.modulemap -Xcc -I/Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-generated-files.hmap -Xcc -I/Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-own-target-headers.hmap -Xcc -I/Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Intermediates.noindex/Runner.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension-project-headers.hmap -Xcc -I/Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/BSGridCollectionViewLayout -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/BoringSSL-GRPC -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/FMDB -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/Firebase -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/FirebaseAuth -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/FirebaseAuthInterop -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/FirebaseCore -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/FirebaseDatabase -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/FirebaseFirestore -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/FirebaseInstanceID -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/FirebaseStorage -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/GTMSessionFetcher -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/GoogleToolboxForMac -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/GoogleUtilities -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/Protobuf -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/cloud_firestore -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/firebase_auth -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/firebase_core -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/firebase_database -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/firebase_storage -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/flutter_native_image -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/gRPC-C++ -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/gRPC-Core -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/google_sign_in -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/image_picker -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/leveldb-library -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/multi_image_picker -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/nanopb -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/onesignal -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/package_info -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/path_provider -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/printing -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/shared_preferences -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Headers/Public/sqflite -Xcc -I/Users/owner/Documents/Progetti/Cinturrino/Cinturrino/ios/Pods/Firebase/CoreOnly/Sources -Xcc -I/Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources-normal/x86_64 -Xcc -I/Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources/x86_64 -Xcc -I/Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -Xcc -DGPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 -Xcc -DPB_FIELD_32BIT=1 -Xcc -DPB_NO_PACKED_STRUCTS=1 -Xcc -DPB_ENABLE_MALLOC=1 -Xcc -DCOCOAPODS=1 -parse-as-library -module-name OneSignalNotificationServiceExtension -o /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/NotificationService.o -index-store-path /Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Index/DataStore -index-system-modules

<unknown>:0: error: module map file '/Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Products/Debug-iphonesimulator/BSGridCollectionViewLayout/BSGridCollectionViewLayout.modulemap' not found
<unknown>:0: error: module map file '/Users/owner/Library/Developer/Xcode/DerivedData/Runner-enscqqmjtiaavpbxrnsxvbkugtre/Build/Products/Debug-iphonesimulator/BSGridCollectionViewLayout/BSGridCollectionViewLayout.modulemap' not found
<unknown>:0: error: missing required module 'SwiftShims'

how can i fix this?

@rgomezp
Copy link
Contributor

rgomezp commented Jun 4, 2019

Hello,
This sounds like an issue with paths due to a naming issue described in #21 and #42 . Try the following:
#21 (comment)

@rgomezp rgomezp added the Help Wanted Extra attention is needed label Jun 4, 2019
@rgomezp
Copy link
Contributor

rgomezp commented Jun 18, 2019

Closing due to no response

@rgomezp rgomezp closed this as completed Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants