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

can't compile on IOS #112

Open
nissaba opened this issue Jul 22, 2024 · 0 comments
Open

can't compile on IOS #112

nissaba opened this issue Jul 22, 2024 · 0 comments

Comments

@nissaba
Copy link

nissaba commented Jul 22, 2024

before I update the cocapod repo I was getting this on app boot

dyld[9989]: Library not loaded: @rpath/lib/libswiftCoreGraphics.dylib
  Referenced from: <4EB43971-4AE0-30B3-A2A7-B92886C2CB82> /private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/DKImagePickerController.framework/DKImagePickerController
  Reason: tried: '/usr/lib/system/introspection/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/DKImagePickerController.framework/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/lib/libswiftCoreGraphics.dylib' (no such file), '/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/lib/libswiftCoreGraphics.dylib' (no such file), '/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file)Library not loaded: @rpath/lib/libswiftCoreGraphics.dylib
  Referenced from: <D95E2CE2-59E5-34ED-9962-5B3202BF9712> /private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/DKPhotoGallery.framework/DKPhotoGallery
  Reason: tried: '/usr/lib/system/introspection/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/DKPhotoGallery.framework/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/lib/libswiftCoreGraphics.dylib' (no such file), '/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/lib/libswiftCoreGraphics.dylib' (no such file), '/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/0A6D6D86-A3D2-480E-96CE-DEBC7C71989E/Runner.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file)
Message from debugger: killed

Afther this I update the repo for the cocoa pod
and got this

Could not build the precompiled application for the device.
Swift Compiler Error (Xcode): 'Flutter/Flutter.h' file not found
/Users/me/.pub-cache/hosted/pub.dev/flutter_email_sender-6.0.3/ios/Classes/FlutterEmailSenderPlugin.h:0:8

Swift Compiler Error (Xcode): Could not build Objective-C module 'flutter_email_sender'


Error launching application on iPhone.

[✓] Flutter (Channel stable, 3.22.3, on macOS 15.0 24A5279h darwin-arm64, locale
fr)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.89.1)
[✓] Connected device (5 available)
! Error: Browsing on the local area network for iPad de Pascale (4). Ensure
the device is unlocked and attached with a cable or associated with the
same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code
-27)
[✓] Network resources

• No issues found!
me@me-MacBook-Pro ~ % flutter doctor -v
[✓] Flutter (Channel stable, 3.22.3, on macOS 15.0 24A5279h darwin-arm64, locale
fr)
• Flutter version 3.22.3 on channel stable at
/Users/me/flutter_dev/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision b0850beeb2 (5 days ago), 2024-07-16 21:43:41 -0700
• Engine revision 235db911ba
• Dart version 3.4.4
• DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/me/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
17.0.10+0-17.0.10b1087.21-11609105)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
• Xcode at /Applications/Xcode-beta.app/Contents/Developer
• Build 16A5171c
• CocoaPods version 1.15.2

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
17.0.10+0-17.0.10b1087.21-11609105)

[✓] VS Code (version 1.89.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (5 available)
• Vincent (mobile) • 00008110-000515920E32401E • ios
• iOS 17.5.1 21F90
• iPhone (mobile) • 00008120-000C38580270201E • ios
• iOS 17.5.1 21F90
• macOS (desktop) • macos • darwin-arm64
• macOS 15.0 24A5279h darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin
• macOS 15.0 24A5279h darwin-arm64
• Chrome (web) • chrome •
web-javascript • Google Chrome 126.0.6478.183
! Error: Browsing on the local area network for iPad de Pascale (4). Ensure
the device is unlocked and attached with a cable or associated with the
same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code
-27)

[✓] Network resources
• All expected network resources are available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant