iOS 17 Build Error
hasimyerlikaya opened this issue · comments
Hi,
I have updated my iPhone to iOS 17, and I am not able to build my project with ObjectBox.
I have to remove it from pubspec.yaml to build the project.
I can build and work on my project after removing ObjectBox from the project.
Here is the error message;
Could not build the precompiled application for the device.
Error (Xcode): DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead
Error launching application on Haşim’s iPhone.
Basic info:
- ObjectBox version: 2.3.0
- Flutter/Dart SDK: 3.13.4 / 3.1.2
- Reproducible: always
- Build OS: macOS Ventura 13.5.2
- Deployment device or OS: iOS 17
[✓] Flutter (Channel stable, 3.13.4, on macOS 13.5.2 22G91 darwin-arm64, locale en-TR)
• Flutter version 3.13.4 on channel stable at /Users/hasimyerlikaya/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 367f9ea16b (7 days ago), 2023-09-12 23:27:53 -0500
• Engine revision 9064459a8b
• Dart version 3.1.2
• DevTools version 2.25.0
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc1)
• Android SDK at /Users/hasimyerlikaya/Library/Android/sdk
• Platform android-33, build-tools 34.0.0-rc1
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15A240d
• CocoaPods version 1.12.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.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 11.0.15+0-b2043.56-8887301)
[✓] VS Code (version 1.82.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.72.0
[✓] Connected device (3 available)
• ios • iOS 17.0 21A329
• macOS (desktop) • macos • darwin-arm64 • macOS 13.5.2 22G91 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 116.0.5845.187
[✓] Network resources
• All expected network resources are available.
• No issues found!
Thanks for reporting. Have you tried the 2.2.1 release? What's the output there?
You are welcome.
I have tried that version too, and there is the same error.
I think this is related to CocoaPods.
It seems it will be fixed with next version of CocoaPods.
Thanks for the info; have you tried the mentioned workaround and update CocoaPods manually?
CocoaPods/CocoaPods#12048 (comment)
I just tried it, and it worked.
I was able to build the app successfully.
We can close the issue, thank you.
@hasimyerlikaya Great, thanks for this pleasant, constructive and efficient conversation! 😄