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

bitcode bundle could not be generated #70357

Closed
butterflyXX opened this issue Nov 12, 2020 · 12 comments
Closed

bitcode bundle could not be generated #70357

butterflyXX opened this issue Nov 12, 2020 · 12 comments
Labels
in triage Presently being triaged by the triage team

Comments

@butterflyXX
Copy link

butterflyXX commented Nov 12, 2020

bitcode bundle could not be generated because '/Users/liuxiaochen/Desktop/hopsontoneB/flutter_hopsonstore/.ios/Flutter/engine/Flutter.framework/Flutter' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build file '/Users/liuxiaochen/Desktop/hopsontoneB/flutter_hopsonstore/.ios/Flutter/engine/Flutter.framework/Flutter' for architecture armv7

bitcode has been disabled,but problems remain

@TahaTesser
Copy link
Member

Hi @butterflyXX
Can you please provide your flutter doctor -v your flutter build ios --verbose and a complete reproducible minimal code sample and steps to reproduce
Thank you

@TahaTesser TahaTesser added in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds labels Nov 12, 2020
@butterflyXX
Copy link
Author

butterflyXX commented Nov 12, 2020

@TahaTesser

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.5 19F101, locale
    zh-Hans-CN)
    • Flutter version 1.22.2 at /Users/liuxiaochen/opt/flutter
    • Framework revision 84f3d28555 (4 weeks ago), 2020-10-15 16:26:19 -0700
    • Engine revision b8752bbfff
    • Dart version 2.10.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn


[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/liuxiaochen/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/liuxiaochen/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.8.4

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.50.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.10.2

[✓] Connected device (1 available)
    • iPhone 11 Pro Max (mobile) • 704D97DA-5E3E-43AD-A7F1-398129B686B2 • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-13-5 (simulator)

• No issues found!

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Nov 12, 2020
@butterflyXX
Copy link
Author

butterflyXX commented Nov 12, 2020

@TahaTesser
flutter build ios --verbose

logs
[ +180 ms] executing: [/Users/liuxiaochen/opt/flutter/] git -c
log.showSignature=false log -n 1 --pretty=format:%H
[  +65 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[   +1 ms] 84f3d28555368a70270e9ac8390a9441df95e752
[        ] executing: [/Users/liuxiaochen/opt/flutter/] git tag --points-at HEAD
[  +25 ms] Exit code 0 from: git tag --points-at HEAD
[        ] 1.22.2
[  +11 ms] executing: [/Users/liuxiaochen/opt/flutter/] git rev-parse
--abbrev-ref --symbolic @{u}
[  +14 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/liuxiaochen/opt/flutter/] git ls-remote --get-url
origin
[  +15 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +66 ms] executing: [/Users/liuxiaochen/opt/flutter/] git rev-parse
--abbrev-ref HEAD
[  +15 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +7 ms] executing: sw_vers -productName
[  +19 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +19 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.5
[        ] executing: sw_vers -buildVersion
[  +19 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19F101
[  +57 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[   +7 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[   +8 ms] Artifact Instance of 'MaterialFonts' is not required, skipping
update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping
update.
[        ] Artifact Instance of 'AndroidMavenArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[   +4 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping
update.
[  +23 ms] "flutter ios" took 69ms.
[  +28 ms] Error: No pubspec.yaml file found.
           This command should be run from the root of your Flutter project.
           Do not run this command from the root of your git clone of Flutter.
[   +7 ms]
           #0      FlutterCommand.validateCommand
           (package:flutter_tools/src/runner/flutter_command.dart:1074:11)
           #1      FlutterCommand.verifyThenRunCommand
           (package:flutter_tools/src/runner/flutter_command.dart:933:11)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command.dart:836:33)
           <asynchronous suspension>
           #3      FlutterCommand.run.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command.dart)
           #4      AppContext.run.<anonymous closure>
           (package:flutter_tools/src/base/context.dart:150:29)
           #5      _rootRun (dart:async/zone.dart:1190:13)
           #6      _CustomZone.run (dart:async/zone.dart:1093:19)
           #7      _runZoned (dart:async/zone.dart:1630:10)
           #8      runZoned (dart:async/zone.dart:1550:10)
           #9      AppContext.run
(package:flutter_tools/src/base/context.dart:149:18)
           #10     FlutterCommand.run
           (package:flutter_tools/src/runner/flutter_command.dart:825:20)
           #11     CommandRunner.runCommand
(package:args/command_runner.dart:197:27)
           #12     FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:335:21)
           #13     _rootRunUnary (dart:async/zone.dart:1198:47)
           #14     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #15     _FutureListener.handleValue
(dart:async/future_impl.dart:143:18)
           #16     Future._propagateToListeners.handleValueCallback
           (dart:async/future_impl.dart:696:45)
           #17     Future._propagateToListeners
(dart:async/future_impl.dart:725:32)
           #18     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #19     _AsyncAwaitCompleter.complete
(dart:async-patch/async_patch.dart:40:15)
           #20     _completeOnAsyncReturn
(dart:async-patch/async_patch.dart:311:13)
           #21     FlutterVersion.checkFlutterVersionFreshness
           (package:flutter_tools/src/version.dart)
           #22     _rootRunUnary (dart:async/zone.dart:1198:47)
           #23     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #24     _FutureListener.handleValue
(dart:async/future_impl.dart:143:18)
           #25     Future._propagateToListeners.handleValueCallback
           (dart:async/future_impl.dart:696:45)
           #26     Future._propagateToListeners
(dart:async/future_impl.dart:725:32)
           #27     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #28     Future._asyncCompleteWithValue.<anonymous closure>
           (dart:async/future_impl.dart:567:7)
           #29     _rootRun (dart:async/zone.dart:1190:13)
           #30     _CustomZone.run (dart:async/zone.dart:1093:19)
           #31     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
           #32     _CustomZone.bindCallbackGuarded.<anonymous closure>
           (dart:async/zone.dart:1037:23)
           #33     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
           #34     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
           #35     _runPendingImmediateCallback
           (dart:isolate-patch/isolate_patch.dart:118:13)
           #36     _RawReceivePortImpl._handleMessage
           (dart:isolate-patch/isolate_patch.dart:169:5)


[ +266 ms] ensureAnalyticsSent: 260ms
[   +2 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 1

@butterflyXX
Copy link
Author

@TahaTesser
I integrated the project Flutter with a simple little project, I found that every time we archive success in the new small project, we could archive success in the old project only once,to archive agin, it will be fail

@TahaTesser
Copy link
Member

Hi @butterflyXX
Is this an add 2 app project? Can you please a complete reproducible minimal code sample and steps to reproduce or steps to reproduce the issue
Thank you

@TahaTesser TahaTesser added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Nov 13, 2020
@butterflyXX
Copy link
Author

butterflyXX commented Nov 20, 2020

@TahaTesser its podfile

podfile
# Uncomment this line to define a global platform for your project
#source 'https://github.com/CocoaPods/Specs.git'
#install! 'cocoapods', :deterministic_uuids => false
platform :ios, '9.0'
# Uncomment this line if you're using Swift
use_frameworks!

flutter_application_path = '../flutter_hopsonstore’
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')

def myPods
    # mediator
    pod 'ELMediator',                          :path => 'LocalLibs/ELMediator'
    pod 'ELMediator+MerchantMainActions',      :path => 'ELMediatorCategories/ELMediator+MerchantMainActions'
    pod 'ELMediator+MerchantOrderActions',     :path => 'ELMediatorCategories/ELMediator+MerchantOrderActions'
    pod 'ELMediator+MerchantGoodsActions',     :path => 'ELMediatorCategories/ELMediator+MerchantGoodsActions'
    pod 'ELMediator+MerchantMessageActions',   :path => 'ELMediatorCategories/ELMediator+MerchantMessageActions'
    pod 'ELMediator+MerchantInfoActions',      :path => 'ELMediatorCategories/ELMediator+MerchantInfoActions'
    pod 'ELMediator+MerchantAuthActions',      :path => 'ELMediatorCategories/ELMediator+MerchantAuthActions'
    pod 'ELMediator+MerchantWriteOffActions',  :path => 'ELMediatorCategories/ELMediator+MerchantWriteOffActions'
    pod 'ELMediator+LesseeMainActions',        :path => 'ELMediatorCategories/ELMediator+LesseeMainActions'
    pod 'ELMediator+LesseePerformanceActions', :path => 'ELMediatorCategories/ELMediator+LesseePerformanceActions'
    pod 'ELMediator+LesseeBillAction',         :path => 'ELMediatorCategories/ELMediator+LesseeBillAction'
    pod 'ELMediator+LesseeNewActivityActions', :path => 'ELMediatorCategories/ELMediator+LesseeNewActivityActions'
    pod 'ELMediator+LesseeInfoActions',        :path => 'ELMediatorCategories/ELMediator+LesseeInfoActions'
    pod 'ELMediator+MerchantAPIManager',       :path => 'ELMediatorCategories/ELMediator+MerchantAPIManager'
    pod 'ELMediator+BusinessSwitchActions',    :path => 'ELMediatorCategories/ELMediator+BusinessSwitchActions'
    pod 'ELMediator+LesseeMessageActions',     :path => 'ELMediatorCategories/ELMediator+LesseeMessageActions'
    pod 'ELMediator+LesseeWriteOffActions',  :path => 'ELMediatorCategories/ELMediator+LesseeWriteOffActions'
    pod 'ELMediator+LesseeWorkOrderActions',  :path => 'ELMediatorCategories/ELMediator+LesseeWorkOrderActions'
    pod 'ELMediator+LesseeParkingActions',  :path => 'ELMediatorCategories/ELMediator+LesseeParkingActions'
    pod 'ELMediator+LesseeSendCouponsActions',  :path => 'ELMediatorCategories/ELMediator+LesseeSendCouponsActions'
    pod 'ELMediator+LesseePaymentFacedActions',  :path => 'ELMediatorCategories/ELMediator+LesseePaymentFacedActions'
    pod 'ELMediator+LesseeSettleAccountsActions',  :path => 'ELMediatorCategories/ELMediator+LesseeSettleAccountsActions'
    pod 'ELMediator+LesseeBillPaymentAction',  :path => 'ELMediatorCategories/ELMediator+LesseeBillPaymentAction'
    pod 'ELMediator+LesseeAccountManagerActions',  :path => 'ELMediatorCategories/ELMediator+LesseeAccountManagerActions'


    
    # models
    pod 'ELMerchantMainModel',          :path => 'Models/ELMerchantMainModel' # 商户主框架
    pod 'ELMerchantOrder',              :path => 'Models/ELMerchantOrder' # 商户订单模块
    pod 'ELMerchantGoods',              :path => 'Models/ELMerchantGoods' # 商户商品模块
    pod 'ELMerchantAuth',               :path => 'Models/ELMerchantAuth' # 商户用户认证模块
    pod 'ELMerchantInfo',               :path => 'Models/ELMerchantInfo' # 商户信息模块
    pod 'ELMerchantWriteOff',           :path => 'Models/ELMerchantWriteOff' # 商户核销模块
    pod 'ELMerchantMessage',            :path => 'Models/ELMerchantMessage' # 商户消息模块
    pod 'ELElectronicFloorManager',     :path => 'Models/ELElectronicFloorManager' # 电子楼管模块
    pod 'ELLesseeBill',                 :path => 'Models/ELLesseeBill' # 电子楼管模块
    pod 'ELNewActivity',                :path => 'Models/ELNewActivity' # 最新活动模块
    pod 'ELLesseeMainModel',            :path => 'Models/ELLesseeMainModel' # 租户主框架
    pod 'ELLesseeWriteOff',             :path => 'Models/ELLesseeWriteOff' # 租户核销模块
    pod 'ELLesseeInfo',                 :path => 'Models/ELLesseeInfo' # 租户“我的”模块
    pod 'ELMerchantAPIManager',         :path => 'Models/ELMerchantAPIManager' # 商户网络请求模块
    pod 'ELBusinessSwitch',             :path => 'Models/ELBusinessSwitch' # business切换模块
    pod 'ELLesseeMessage',              :path => 'Models/ELLesseeMessage' # 租户消息模块
    pod 'ELLesseeWorkOrder',            :path => 'Models/ELLesseeWorkOrder' # 工单模块
    pod 'ELLesseeParking',              :path => 'Models/ELLesseeParking' # 租户停车减免模块
    pod 'ELLesseeSendCoupons',          :path => 'Models/ELLesseeSendCoupons' # 租户发券模块
    pod 'ELLesseePaymentFaced',         :path => 'Models/ELLesseePaymentFaced' # 当面付模块
    pod 'ELLesseeSettleAccounts',       :path => 'Models/ELLesseeSettleAccounts' # 营销结算
    pod 'ELLesseeBillPayment',          :path => 'Models/ELLesseeBillPayment' # 账单缴费
    pod 'ELLesseeAccountManager',       :path => 'Models/ELLesseeAccountManager' # 账号管理
    

    
    # local libs
    pod 'ELMacros',                     :path => 'LocalLibs/ELMacros'
    pod 'ELTargetEnvironment',          :path => 'LocalLibs/ELTargetEnvironment'
    pod 'ELResourceBundle',             :path => 'LocalLibs/ELResourceBundle'
    pod 'ELNetworking',                 :path => 'LocalLibs/ELNetworking'
    pod 'ELHTTPSessionManager+SOAP',    :path => 'LocalLibs/ELHTTPSessionManager+SOAP'
    pod 'ELNetworkingLogger',           :path => 'LocalLibs/ELNetworkingLogger', :configurations => ['Debug']
    pod 'ELProgressHUD',                :path => 'LocalLibs/ELProgressHUD'
    pod 'NSObject+KVO',                 :path => 'LocalLibs/NSObject+KVO'
    pod 'NSDictionary+Json',            :path => 'LocalLibs/NSDictionary+Json'
    pod 'NSMutableString+URLFormat',    :path => 'LocalLibs/NSMutableString+URLFormat'
    pod 'ELWebViewController',          :path => 'LocalLibs/ELWebViewController'
    pod 'ELViewModel',                  :path => 'LocalLibs/ELViewModel'
    pod 'ThirdPartyPaySDK',             :path => 'LocalLibs/ThirdPartyPaySDK'
    pod 'ELButtonListView',             :path => 'LocalLibs/ELButtonListView'
    pod 'ELBasePageController',         :path => 'LocalLibs/ELBasePageController'
    pod 'ELDatePicker',                 :path => 'LocalLibs/ELDatePicker'
    pod 'ELAssociate',                  :path => 'LocalLibs/ELAssociate'
    pod 'UITableViewCell+indexPath',    :path => 'LocalLibs/UITableViewCell+indexPath'
    pod 'BLTools',                      :path => 'LocalLibs/BLTools'
    pod 'NavBarTransparent',            :path => 'LocalLibs/NavBarTransparent'
    pod 'ELEncryption',                 :path => 'LocalLibs/ELEncryption'
    pod 'ELImageCategories',            :path => 'LocalLibs/ELImageCategories'
    pod 'ELBaseModel',                  :path => 'LocalLibs/ELBaseModel'
    pod 'NSDateCategories',             :path => 'LocalLibs/NSDateCategories'
    pod 'EL_SGQRCode',                  :path => 'LocalLibs/EL_SGQRCode'
    pod 'UIView+GetCurrentVC',          :path => 'LocalLibs/UIView+GetCurrentVC'
    pod 'ELGradualImageView',           :path => 'LocalLibs/ELGradualImageView'
    pod 'ELShadowButton',               :path => 'LocalLibs/ELShadowButton'
    pod 'ELAreaMaoManager',             :path => 'LocalLibs/ELAreaMaoManager'
    pod 'ELRefresh',                    :path => 'LocalLibs/ELRefresh'
    pod 'ELEmptyDataSet',               :path => 'LocalLibs/ELEmptyDataSet'
    pod 'ELNetworkErrorView',           :path => 'LocalLibs/ELNetworkErrorView'
    pod 'ELThemesManager',              :path => 'LocalLibs/ELThemesManager'
    pod 'ELMoney',                      :path => 'LocalLibs/ELMoney'
    pod 'ELButtonCategories',           :path => 'LocalLibs/ELButtonCategories'
    pod 'ELImagePickerManager',         :path => 'LocalLibs/ELImagePickerManager'
    pod 'ELImageUpload',                :path => 'LocalLibs/ELImageUpload'
    pod 'ELShareManager',               :path => 'LocalLibs/ELShareManager'
    pod 'UITextField+Limit',            :path => 'LocalLibs/UITextField+Limit'
    pod 'UITextView+Limit',            :path => 'LocalLibs/UITextView+Limit'
    pod 'ELUpdateManager',              :path => 'LocalLibs/ELUpdateManager'
    pod 'ELLocationStatistics',         :path => 'LocalLibs/ELLocationStatistics', :configurations => ['Debug']
    pod 'NSObject+swizzledMethod',      :path => 'LocalLibs/NSObject+swizzledMethod'
    pod 'YYLTextView',                  :path => 'LocalLibs/YYLTextView'
    pod 'ELTextFieldView',              :path => 'LocalLibs/ELTextFieldView'
    pod 'ELBaseAlertController',              :path => 'LocalLibs/ELBaseAlertController'
    pod 'UILabel+ChangeLineSpaceAndWordSpace',              :path => 'LocalLibs/UILabel+ChangeLineSpaceAndWordSpace'
    pod 'ELMathManager',                :path => 'LocalLibs/ELMathManager'
    pod 'LXCCarKeyBoard',                :path => 'LocalLibs/LXCCarKeyBoard'
    pod 'UIView+ShadowPath',              :path => 'LocalLibs/UIView+ShadowPath'
    pod 'XCStepper',                    :path => 'LocalLibs/XCStepper'
    pod 'ELBottomButton',               :path =>  'LocalLibs/ELBottomButton'
    pod 'LXCDefinedKeyBoard',           :path =>  'LocalLibs/LXCDefinedKeyBoard'
    pod 'ELSaveImageManager',           :path =>  'LocalLibs/ELSaveImageManager'
    pod 'ELDevicePurviewManager',       :path =>    'LocalLibs/ELDevicePurviewManager'
    pod 'NSString+File',                :path =>    'LocalLibs/NSString+File'
    pod 'ELSGQRCodeViewController',     :path =>    'LocalLibs/ELSGQRCodeViewController'
    pod 'ELHomeModel',     :path =>    'LocalLibs/ELHomeModel'
    
    
    
    

    
    

    
    
    

    
    # remote libs
    pod 'GTSDK', '2.4.1.0'
    pod 'IQKeyboardManager'
    pod 'Bugly'

end

target 'HopsonOne_B' do
  install_all_flutter_pods(flutter_application_path)
    myPods
end

target 'HopsonOne_B.beta' do
  install_all_flutter_pods(flutter_application_path)
    myPods
end

target 'HopsonOne_B.test' do
  install_all_flutter_pods(flutter_application_path)
    myPods
end

target 'HopsonOne_B.develop' do
  install_all_flutter_pods(flutter_application_path)
    myPods
end

target 'HopsonOne_B.demo' do
  install_all_flutter_pods(flutter_application_path)
  myPods
end


#当因为use_frameworks!报错时,添加这行代码
pre_install do |installer|
  # workaround for https://github.com/CocoaPods/CocoaPods/issues/3289
  Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
end

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Nov 20, 2020
@butterflyXX
Copy link
Author

butterflyXX commented Nov 20, 2020

@TahaTesser the errorLog

Ld /Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ELLesseeAccountManager.build/Objects-normal/arm64/ELLesseeAccountManager normal arm64
    cd /Users/liuxiaochen/Desktop/hopsontoneB/HopsonStore-ios/Pods
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios9.0 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk -L/Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/BuildProductsPath/Release-iphoneos/ELLesseeAccountManager -F/Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/BuildProductsPath/Release-iphoneos/ELLesseeAccountManager -F/Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/BuildProductsPath/Release-iphoneos/AFNetworking -F/Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/BuildProductsPath/Release-iphoneos/ELHTTPSessionManager+SOAP -F/Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/BuildProductsPath/Release-iphoneos/ELMediator -F/Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/BuildProductsPath/Release-iphoneos/ELMediator+MerchantAPIManager -F/Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/BuildProductsPath/Release-iphoneos/ELMediator+MerchantAuthActions -F/Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/BuildProductsPath/Release-iphoneos/ELMerchantAPIManager -F/Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/BuildProductsPath/Release-iphoneos/ELNetworking -F/Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/BuildProductsPath/Release-iphoneos/ELTargetEnvironment -F/Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/BuildProductsPath/Release-iphoneos/JSONModel -F/Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/BuildProductsPath/Release-iphoneos/NSDictionary+Json -F/Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/BuildProductsPath/Release-iphoneos/NSMutableString+URLFormat -F/Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/BuildProductsPath/Release-iphoneos/YYModel -F/Users/liuxiaochen/Desktop/hopsontoneB/HopsonStore-ios/Pods/../../flutter_hopsonstore/.ios/Flutter/engine -filelist /Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ELLesseeAccountManager.build/Objects-normal/arm64/ELLesseeAccountManager.LinkFileList -install_name @rpath/ELLesseeAccountManager.framework/ELLesseeAccountManager -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ELLesseeAccountManager.build/Objects-normal/arm64/ELLesseeAccountManager_lto.o -fembed-bitcode -Xlinker -bitcode_verify -Xlinker -bitcode_hide_symbols -Xlinker -bitcode_symbol_map -Xlinker /Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/BuildProductsPath/Release-iphoneos/ELLesseeAccountManager -fobjc-arc -fobjc-link-runtime -ObjC -framework Flutter -framework Foundation -framework UIKit -framework ELHTTPSessionManager_SOAP -framework ELMediator_MerchantAPIManager -framework Foundation -framework UIKit -framework YYModel -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ELLesseeAccountManager.build/Objects-normal/arm64/ELLesseeAccountManager_dependency_info.dat -o /Users/liuxiaochen/Library/Developer/Xcode/DerivedData/HopsonOne_B-eqcenxataoltyraddzpfphzmstvn/Build/Intermediates.noindex/ArchiveIntermediates/HopsonOne_B.develop/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ELLesseeAccountManager.build/Objects-normal/arm64/ELLesseeAccountManager

ld: bitcode bundle could not be generated because '/Users/liuxiaochen/Desktop/hopsontoneB/flutter_hopsonstore/.ios/Flutter/engine/Flutter.framework/Flutter' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build file '/Users/liuxiaochen/Desktop/hopsontoneB/flutter_hopsonstore/.ios/Flutter/engine/Flutter.framework/Flutter' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@butterflyXX
Copy link
Author

@TahaTesser
we use local modularization to develop the app,enable Bitcode is NO,but its not work

@TahaTesser
Copy link
Member

Hi @butterflyXX
Can you please provide a minimal complete reproducible code sample in a GitHub repository and steps to reproduce
Thank you

@TahaTesser TahaTesser added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Nov 20, 2020
@speshiou
Copy link

speshiou commented Dec 1, 2020

Hi @butterflyXX
I got the same error before. You should run flutter build ios in your flutter project directory before archiving.

@TahaTesser TahaTesser removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Dec 11, 2020
@TahaTesser
Copy link
Member

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

@github-actions
Copy link

github-actions bot commented Aug 8, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in triage Presently being triaged by the triage team
Projects
None yet
Development

No branches or pull requests

3 participants