Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

error building for iOS #9

Closed
shaharsol opened this issue Nov 20, 2019 · 3 comments
Closed

error building for iOS #9

shaharsol opened this issue Nov 20, 2019 · 3 comments

Comments

@shaharsol
Copy link

This started IMHO with the latest version of the plugin:

Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Running Xcode build...
Xcode build done.                                           15.3s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    /Users/shaharsol/flutter/flutter/.pub-cache/git/flutter_zoom_plugin-95ebd9a753589aad7a9c983419c694d64376b93f/ios/Classes/SwiftFlutterZoomPlugin.swift:218:15: warning: 'initialize(withDomain:enableLog:bundleResPath:)' is deprecated: Will be deleted in the next release. Please use [[MobileRTC sharedRTC] initialize:context] instead
        MobileRTC.initialize(withDomain: arguments["domain"]!, enableLog: true, bundleResPath: pluginBundlePath)
                  ^
    In file included from /Users/shaharsol/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/uni_links-0.2.0/ios/Classes/UniLinksPlugin.m:1:
    /Users/shaharsol/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/uni_links-0.2.0/ios/Classes/UniLinksPlugin.h:4:4: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    + (instancetype)sharedInstance;
       ^
    /Users/shaharsol/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/uni_links-0.2.0/ios/Classes/UniLinksPlugin.h:4:4: note: insert '_Nullable' if the pointer may be null
    + (instancetype)sharedInstance;
       ^
                    _Nullable 
    /Users/shaharsol/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/uni_links-0.2.0/ios/Classes/UniLinksPlugin.h:4:4: note: insert '_Nonnull' if the pointer should never be null
    + (instancetype)sharedInstance;
       ^
                    _Nonnull 
    /Users/shaharsol/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/uni_links-0.2.0/ios/Classes/UniLinksPlugin.h:7:33: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
          restorationHandler:(void (^)(NSArray *_Nullable))restorationHandler;
                                    ^
    /Users/shaharsol/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/uni_links-0.2.0/ios/Classes/UniLinksPlugin.h:7:33: note: insert '_Nullable' if the block pointer may be null
          restorationHandler:(void (^)(NSArray *_Nullable))restorationHandler;
                                    ^
                                     _Nullable
    /Users/shaharsol/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/uni_links-0.2.0/ios/Classes/UniLinksPlugin.h:7:33: note: insert '_Nonnull' if the block pointer should never be null
          restorationHandler:(void (^)(NSArray *_Nullable))restorationHandler;
                                    ^
                                     _Nonnull
    2 warnings generated.
    ld: warning: ignoring file /Users/shaharsol/flutter/flutter/.pub-cache/git/flutter_zoom_plugin-95ebd9a753589aad7a9c983419c694d64376b93f/ios/MobileRTC.framework/MobileRTC, missing required architecture x86_64 in file /Users/shaharsol/flutter/flutter/.pub-cache/git/flutter_zoom_plugin-95ebd9a753589aad7a9c983419c694d64376b93f/ios/MobileRTC.framework/MobileRTC (2 slices)
    Undefined symbols for architecture x86_64:
      "_OBJC_CLASS_$_MobileRTC", referenced from:
          objc-class-ref in SwiftFlutterZoomPlugin.o
      "_kMeetingParam_Username", referenced from:
          flutter_zoom_plugin.ZoomView.joinMeeting(call: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in SwiftFlutterZoomPlugin.o
      "_kMeetingParam_MeetingNumber", referenced from:
          flutter_zoom_plugin.ZoomView.joinMeeting(call: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in SwiftFlutterZoomPlugin.o
      "_kMeetingParam_MeetingPassword", referenced from:
          flutter_zoom_plugin.ZoomView.joinMeeting(call: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in SwiftFlutterZoomPlugin.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    note: Using new build systemnote: Planning buildnote: Constructing build descriptionwarning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the Runner editor. (in target 'Runner' from project 'Runner')

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.
@kevinbayes
Copy link
Collaborator

Interesting, we have used this for a number of successful builds.

Can you send me the command you are using to build?

@kevinbayes
Copy link
Collaborator

Moved thread to different project.

@kevinbayes
Copy link
Collaborator

@shaharsol thanks for the feedback, I added a new branch called master_dev that will use the simulator iOS sdk provided by zoom. Adding the note here for recording purposes only.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants