BSGridCollectionViewLayout icon indicating copy to clipboard operation
BSGridCollectionViewLayout copied to clipboard

Occured error on flutter project

Open guolingege opened this issue 4 years ago • 4 comments

the Error is as following:

Launching lib/main.dart on Lemon' iPhoneXr in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: SB2AYBD9S3
Running Xcode build...
Xcode build done.                                           91.8s
Failed to build iOS app
Error output from Xcode build:
↳
    2020-04-24 14:07:01.773 xcodebuild[24720:4378833]  DTDeviceKit: deviceType from 00008020-001C2CE834C2002E was NULL
    2020-04-24 14:07:01.930 xcodebuild[24720:4378953]  DTDeviceKit: deviceType from 00008020-001C2CE834C2002E was NULL
    ** BUILD FAILED **


Xcode's output:
↳
    Non-fat binary /Users/mac/Desktop/aic_flutter/build/ios/Debug-iphoneos/Runner.app/Frameworks/BSGridCollectionViewLayout.framework/BSGridCollectionViewLayout is not armv7. Running lipo -info:
    Non-fat file: /Users/mac/Desktop/aic_flutter/build/ios/Debug-iphoneos/Runner.app/Frameworks/BSGridCollectionViewLayout.framework/BSGridCollectionViewLayout is architecture: arm64
    Command PhaseScriptExecution failed with a nonzero exit code
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

Could not build the precompiled application for the device.

Error launching application on Lemon' iPhoneXr.

My other flutter projects run well on this iPhoneXr.

guolingege avatar Apr 24 '20 06:04 guolingege

Try out the latest commit on master where I've disabled code signing.

Other than that I can't do much as I don't support flutter - I'm guessing you are using some flutter wrapper around this library? If you can't debug it yourself maybe ask them to help out.

mikaoj avatar Apr 24 '20 11:04 mikaoj

Yes I am using 1.2.5,and I can't debug because it occurs while the project is launching, and the launching is interrupt, it hav'nt enter my code yet. And two more infomations are, this project runs well on iPhone X and iPhone6s in both debug mode and release mode, and as well on iPhoneXr in release mode. So this error occors only on iPhoneXr's debug mode.

guolingege avatar Apr 24 '20 11:04 guolingege

Ih I read to quickly before. Thought it was about BSImagePicker and code signing.

But it is BSGridCollectionViewLayout and compile architecture.

I know very little about flutter. If you want help with figuring it out you’ll need to give me an example project with instructions on how to reproduce it.

mikaoj avatar Apr 24 '20 13:04 mikaoj

i also error

chongbo2013 avatar Jul 02 '20 11:07 chongbo2013