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

Having an issue with run it on ios-arm64_x86_64-simulator #8

Open
HeckYeah-01 opened this issue Feb 13, 2022 · 6 comments
Open

Having an issue with run it on ios-arm64_x86_64-simulator #8

HeckYeah-01 opened this issue Feb 13, 2022 · 6 comments
Assignees

Comments

@HeckYeah-01
Copy link

HeckYeah-01 commented Feb 13, 2022

I am facing the following error while I run it against the IOS simulator using nkn_sdk_flutter: ^0.1.15

dependencies:
nkn_sdk_flutter: ^0.1.15

error output from Xcode build: ↳ ** BUILD FAILED ** Xcode's output: ↳ Writing result bundle at path: /var/folders/5s/vzztpb_13rj10q343z6f_t6c0000gn/T/flutter_tools.dzBEo4/flutter_ios_build_temp_dirkx37YI/temporary_xcresult_bundle Selected xcframework slice ios-arm64_x86_64-simulator rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "/Users/lui/Documents/flutter_project/wallet/ios/Pods/../.symlinks/plugins/nkn_sdk_flutter/ios/Frameworks/Nkn.xcframework/ios-arm64_x86_64-simulator/*" "/Users/lui/Documents/flutter_project/wallet/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/nkn_sdk_flutter" building file list ... rsync: link_stat "/Users/lui/Documents/flutter_project/wallet/ios/Pods/../.symlinks/plugins/nkn_sdk_flutter/ios/Frameworks/Nkn.xcframework/ios-arm64_x86_64-simulator//*" failed: No such file or directory (2)

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.0, on macOS 12.0.1 21A559 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.63.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

Flutter 2.10.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 5f105a6ca7 (11 days ago) • 2022-02-01 14:15:42 -0800
Engine • revision 776efd2034
Tools • Dart 2.16.0 • DevTools 2.9.2

@HeckYeah-01
Copy link
Author

@iheron @yilunzhangh Hi guys, I tried to work around this issue and no luck so far, can you please when you have to take a look on this issue, thanks

@yilunzhang
Copy link
Member

@iheron Is it because there is no x86 framework?

@iheron
Copy link
Member

iheron commented Feb 24, 2022

Flutter pub upload has size limit, so I removed the package for simulator. If you want to run on the simulator, you can use gomobile to compile locally. cd golib and make ios

@arrivets
Copy link
Contributor

Hi @iheron, could you expand on this a bit please?

I have run make ios and copied the resulting ios-arm64_x86_64-simulator folder into `ios/Frameworks/Nkn.xcframework'

In my flutter project I reference a local copy of nkn-sdk-flutter, but it's not picking up the new simulator package.

Not quite sure what is missing.

@arrivets
Copy link
Contributor

nevermind I just need to copy the info.plist

@iheron
Copy link
Member

iheron commented Nov 22, 2023

@arrivets May require flutter pub get

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

4 participants