Closed daichihaji closed 4 years ago
Hi, we officially support the v1.9.1+hotfix.4 Flutter release. I suggest you switch to this version for now, we will provide support for the latest stable Flutter release in the near future.
Also, please run the flutter doctor
command to make sure there are no other issues with your current development setup.
Thank you very much. I confirmed it works on v1.9.1+hotfix.4 and transplanted my tItanium application to flutter. Wikitude-Javascript code dosen't need to be changed so much. its great.
However in many cases and plugins require more than v1.12 nowadays, I expect sample update for newer flutter version.
I have experience in making a few applications by Titanium. However now I try to move Flutter.
My Xcode Version 11.0 (11A420a)
$flutter --version Flutter 1.12.13+hotfix.6 • channel unknown • unknown source Framework • revision 18cd7a3601 (8 days ago) • 2019-12-11 06:35:39 -0800 Engine • revision 2994f7e1e6 Tools • Dart 2.7.0
I downloaded wikitude-flutter-plugin-example.
1) $flutter pub get
2) open Runner.xcworkspace by Xcode then change Bundle Identifier to my Identifier(jp.koala.fluttersample) set profile( by check automatically manage signing) Targets->Runner -> Signing & Capabilities
3) $flutter build ios A warning appears but it finished.
flutter build ios Building jp.koala.fluttersample for device (ios-release)... Automatically signing iOS for device deployment using specified development team in Xcode project: 99HG887WSL Running pod install... 1.8s Warning: Podfile is out of date This can cause a mismatched version of Flutter to be embedded in your app, which may result in App Store submission rejection or crashes. If you have local Podfile edits you would like to keep, see https://github.com/flutter/flutter/issues/24641 for instructions. To regenerate the Podfile, run: rm ios/Podfile
Running Xcode build...
├─Building Dart code... 29.9s ├─Generating dSYM file... 0.9s ├─Stripping debug symbols... 0.6s ├─Assembling Flutter resources... 7.0s └─Compiling, linking and signing... 25.3s Xcode build done. 71.1s Built /Users/daichi/CodingWorks/httproot/wikitude-flutter-plugin-examples-master/build/ios/iphoneos/Runner.app.
4)open -a Simulator (open iphone simulator)
5)flutter run . flutter run -d 4A Launching lib/main.dart on iPhone 11 Pro Max in debug mode... Running pod install... 1.5s Warning: Podfile is out of date This can cause a mismatched version of Flutter to be embedded in your app, which may result in App Store submission rejection or crashes. If you have local Podfile edits you would like to keep, see https://github.com/flutter/flutter/issues/24641 for instructions. To regenerate the Podfile, run: rm ios/Podfile
Running Xcode build...
├─Assembling Flutter resources... 9.0s └─Compiling, linking and signing... 8.2s Xcode build done. 19.7s
....hanging up here
No error message appears.