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

Ios build error #44

Closed
Ghoral opened this issue Jan 13, 2022 · 42 comments
Closed

Ios build error #44

Ghoral opened this issue Jan 13, 2022 · 42 comments
Assignees
Labels
issue-platform: iOS issue is related to iOS issue-type: bug resolved Temprory issue resolved but still verification needed issue-type: bug Something isn't working severrity: high status: verification

Comments

@Ghoral
Copy link

Ghoral commented Jan 13, 2022

Hello @evilRat.
While running on ios there are two issues:

On unzipping to dev and running on simulator I am getting this error:
Screen Shot 2022-01-13 at 1 31 16 PM

On running on real device:
Screen Shot 2022-01-13 at 1 39 54 PM

@ark-brighthustle ark-brighthustle self-assigned this Jan 13, 2022
@ark-brighthustle ark-brighthustle added issue-type: bug Something isn't working severrity: high status: pending reproduction Waiting for free time to reproduce the issue, or more information labels Jan 13, 2022
@ark-brighthustle
Copy link
Owner

looking to reproduce the issue and will fix as soon as possible😁

@Ghoral
Copy link
Author

Ghoral commented Jan 13, 2022

Thank you..Here is the doctor report in case you need it.

Doctor sum mary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.63.2)
[✓] Connected device (2 available)

• No issues found!

@ark-brighthustle
Copy link
Owner

ark-brighthustle commented Jan 13, 2022

Patch has been release please check and verify

@ark-brighthustle ark-brighthustle added status: verification and removed status: pending reproduction Waiting for free time to reproduce the issue, or more information labels Jan 13, 2022
@Ghoral
Copy link
Author

Ghoral commented Jan 13, 2022

Sure I will do it asap.

@Ghoral
Copy link
Author

Ghoral commented Jan 13, 2022

@evilRat Ios dev(simulator) has the same issue...but working perfectly on the device.
However viewOptions: "true" is not working for ios..It is still showing the meeting information.

I will close the issue after knowing ( viewOptions: "true") is a bug or not configured correctly.. since I dont need to test on simulator.

@Ghoral
Copy link
Author

Ghoral commented Jan 13, 2022

Another issue when trying to start meeting by login user :

zoom.startMeetingNormal( ZoomMeetingOptions( userId: emailController.text, userPassword: passwordController.text, meetingId: classInfo.meetingId.toString(), disableDialIn: "true", disableDrive: "true", disableInvite: "true", disableShare: "true", noAudio: "false", disableTitlebar: "false", viewOptions: "false", noDisconnectAudio: "false", ), )
It throws following error.
MissingPluginException(No implementation found for method startNormal on channel com.evilratt/zoom_sdk)

@ark-brighthustle
Copy link
Owner

another patch added...you need to call startMeeting as of now startMeetingNormal will not work for ios

@Ghoral
Copy link
Author

Ghoral commented Jan 13, 2022

Sure I will update it..will there be fix for view option also. That would be great as of now.

@ark-brighthustle
Copy link
Owner

yes

@ark-brighthustle ark-brighthustle added the issue-type: bug resolved Temprory issue resolved but still verification needed label Jan 13, 2022
@Ghoral
Copy link
Author

Ghoral commented Jan 13, 2022

@evilRat meetingid is still visible..but I am closing this issue since that is not related to this thread.

@Ghoral Ghoral closed this as completed Jan 13, 2022
@Ghoral Ghoral reopened this Jan 13, 2022
@Ghoral
Copy link
Author

Ghoral commented Jan 13, 2022

@evilRat reopening the issue..I forgot to mention the issue is in joinMeeting. The meeting Id is not hidden.

@ark-brighthustle
Copy link
Owner

ark-brighthustle commented Jan 13, 2022

@evilRat reopening the issue..I forgot to mention the issue is in joinMeeting. The meeting Id is not hidden.

Only hiding thing is not working thats it......naaaaa......else everything is fine ?

@Ghoral
Copy link
Author

Ghoral commented Jan 13, 2022

Start meeting still gives this error:

MissingPluginException(No implementation found for method login on channel com.evilratt/zoom_sdk)
But I can manage it for now from my side. So currently hiding meetingId is necessary for my app.

@ark-brighthustle
Copy link
Owner

Start meeting still gives this error:

MissingPluginException(No implementation found for method login on channel com.evilratt/zoom_sdk) But I can manage it for now from my side. So currently hiding meetingId is necessary for my app.

please share the solution here....

@Ghoral
Copy link
Author

Ghoral commented Jan 13, 2022

`[LayoutConstraints] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x282930500 'assistantHeight' TUISystemInputAssistantView:0x125f44d80.height == 45 (active)>",
"<NSLayoutConstraint:0x2829e3610 'assistantView.bottom' TUISystemInputAssistantView:0x125f44d80.bottom == _UIKBCompatInputView:0x12729a480.top (active)>",
"<NSLayoutConstraint:0x2829fb1b0 'assistantView.top' V:|-(0)-[TUISystemInputAssistantView:0x125f44d80] (active, names: '|':UIInputSetHostView:0x1394bf790 )>",
"<NSLayoutConstraint:0x2829cfe80 'inputView.top' V:|-(0)-[_UIKBCompatInputView:0x12729a480] (active, names: '|':UIInputSetHostView:0x1394bf790 )>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x2829e3610 'assistantView.bottom' TUISystemInputAssistantView:0x125f44d80.bottom == _UIKBCompatInputView:0x12729a480.top (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
[Snapshotting] Snapshotting a view (0x125f762b0, _UIReplicantView) that has not been rendered at least once requires afterScreenUpdates:YES.
flutter: e ->MissingPluginException(No implementation found for method startNormal on channel com.evilratt/zoom_sdk)`

This is complete error log

@Ghoral
Copy link
Author

Ghoral commented Jan 13, 2022

This is for startMeeting

`[Snapshotting] Snapshotting a view (0x125fe7620, _UIReplicantView) that has not been rendered at least once requires afterScreenUpdates:YES.
[Snapshotting] Snapshotting a view (0x127279980, _UIReplicantView) that has not been rendered at least once requires afterScreenUpdates:YES.
[LayoutConstraints] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x2829840f0 'assistantHeight' TUISystemInputAssistantView:0x125f44d80.height == 45 (active)>",
"<NSLayoutConstraint:0x282937c00 'assistantView.bottom' TUISystemInputAssistantView:0x125f44d80.bottom == _UIKBCompatInputView:0x12729a480.top (active)>",
"<NSLayoutConstraint:0x282937b10 'assistantView.top' V:|-(0)-[TUISystemInputAssistantView:0x125f44d80] (active, names: '|':UIInputSetHostView:0x1234ae950 )>",
"<NSLayoutConstraint:0x2829cd400 'inputView.top' V:|-(0)-[_UIKBCompatInputView:0x12729a480] (active, names: '|':UIInputSetHostView:0x1234ae950 )>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x282937c00 'assistantView.bottom' TUISystemInputAssistantView:0x125f44d80.bottom == _UIKBCompatInputView:0x12729a480.top (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
[Snapshotting] Snapshotting a view (0x125fa2d60, _UIReplicantView) that has not been rendered at least once requires afterScreenUpdates:YES.
flutter: e ->MissingPluginException(No implementation found for method login on channel com.evilratt/zoom_sdk)`

@Ghoral
Copy link
Author

Ghoral commented Jan 13, 2022

Start meeting still gives this error:
MissingPluginException(No implementation found for method login on channel com.evilratt/zoom_sdk) But I can manage it for now from my side. So currently hiding meetingId is necessary for my app.

please share the solution here....

My solution is redirecting to web for now 🤣

@ark-brighthustle
Copy link
Owner

You can verify now.....everything is working as expected

@Ghoral
Copy link
Author

Ghoral commented Jan 13, 2022

Ok I will verify the changes

@ark-brighthustle
Copy link
Owner

You can verify now.....everything is working as expected

ok and please let me know.....and also verify it it returns meeting id and password on start meeting

@Ghoral
Copy link
Author

Ghoral commented Jan 13, 2022

Ok sure...I might take some time to respond since it is already night here..but no more than 12 hours.

@ark-brighthustle
Copy link
Owner

Ok sure...I might take some time to respond since it is already night here..but no more than 12 hours.

ok sure

@Ghoral
Copy link
Author

Ghoral commented Jan 13, 2022

@evilRat didn't want to keep work pending so I did the testing.

Works perfectly now.

Can you give me some date about when startmeetingwithNormal and meetingId hide while joining class will be released?. So that I can do the planning.

Right now I am getting this while doing startMeetingNormal.
e ->type 'bool' is not a subtype of type 'List?' in type cast

Thank you.

@ark-brighthustle
Copy link
Owner

startmeetingwithNormal is released...you can verify that also....

@ark-brighthustle ark-brighthustle added the issue-platform: iOS issue is related to iOS label Jan 13, 2022
@Ghoral
Copy link
Author

Ghoral commented Jan 14, 2022

Hello @evilRat, Seems the issue still persists in 1.0.0+5.
while startingMeetingNormal I still get the error.

`[Snapshotting] Snapshotting a view (0x13268e940, _UIReplicantView) that has not been rendered at least once requires afterScreenUpdates:YES.
[Snapshotting] Snapshotting a view (0x13268e940, _UIReplicantView) that has not been rendered at least once requires afterScreenUpdates:YES.
[LayoutConstraints] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x282eca7b0 'assistantHeight' TUISystemInputAssistantView:0x10d2bf2a0.height == 45 (active)>",
"<NSLayoutConstraint:0x282e67cf0 'assistantView.bottom' TUISystemInputAssistantView:0x10d2bf2a0.bottom == _UIKBCompatInputView:0x132630530.top (active)>",
"<NSLayoutConstraint:0x282e67d90 'assistantView.top' V:|-(0)-[TUISystemInputAssistantView:0x10d2bf2a0] (active, names: '|':UIInputSetHostView:0x10d0e9b90 )>",
"<NSLayoutConstraint:0x282ecabc0 'inputView.top' V:|-(0)-[_UIKBCompatInputView:0x132630530] (active, names: '|':UIInputSetHostView:0x10d0e9b90 )>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x282e67cf0 'assistantView.bottom' TUISystemInputAssistantView:0x10d2bf2a0.bottom == _UIKBCompatInputView:0x132630530.top (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
[Snapshotting] Snapshotting a view (0x13639af40, _UIReplicantView) that has not been rendered at least once requires afterScreenUpdates:YES.
Got response from start: MobileRTCMeetError
flutter: e ->type 'bool' is not a subtype of type 'List?' in type cast`

Did flutter clean and reinstallation of package.

Thank you.

@ark-brighthustle
Copy link
Owner

ok will fix it as soon as possible

@Ghoral
Copy link
Author

Ghoral commented Jan 14, 2022

@evilRat could also fix hide meetingId for join meeting. I would be really grateful. Since that is very important in my app.

@ark-brighthustle
Copy link
Owner

ok.....i fixed it

@Ghoral
Copy link
Author

Ghoral commented Jan 14, 2022

Thank you so much

@Ghoral
Copy link
Author

Ghoral commented Jan 14, 2022

@evilRat there seems to be some issue while building.

Screen Shot 2022-01-14 at 4 12 00 PM

@ark-brighthustle
Copy link
Owner

@evilRat there seems to be some issue while building.

Screen Shot 2022-01-14 at 4 12 00 PM

ok working on it to fix it

@ark-brighthustle
Copy link
Owner

@evilRat there seems to be some issue while building.

Screen Shot 2022-01-14 at 4 12 00 PM

I am creating another branch for ios fixes....you can test that...and after successful verification can push the code to pub.dev 'ios-fixes' will be branch name

@Ghoral
Copy link
Author

Ghoral commented Jan 14, 2022

ok sure I need to clone the repo right ?

@ark-brighthustle
Copy link
Owner

ok sure I need to clone the repo right ?

yes

@ark-brighthustle
Copy link
Owner

ark-brighthustle commented Jan 14, 2022

ok sure I need to clone the repo right ?

check ios-fixes branch.....just add it to your pubspec.yaml else everything same

@Ghoral
Copy link
Author

Ghoral commented Jan 14, 2022

@evilRat latest code has not been updated right? because the latest commit is 10 hr ago. It has the following error

Screen Shot 2022-01-14 at 10 57 31 PM

@ark-brighthustle
Copy link
Owner

ark-brighthustle commented Jan 14, 2022

https://github.com/evilrat/flutter_zoom_sdk/tree/ios-fixes

use this link lo fetch the package

flutter_zoom_sdk:
git:
url: https://github.com/evilrat/flutter_zoom_sdk.git
ref: ios-fixes

@Ghoral
Copy link
Author

Ghoral commented Jan 14, 2022

@evilRat I tried this but this
Screen Shot 2022-01-15 at 12 44 56 AM

but it me this error
Screen Shot 2022-01-15 at 12 45 57 AM

and I tried cloning from this -> https://github.com/evilrat/flutter_zoom_sdk/tree/ios-fixes

and this gave me this error

Screen Shot 2022-01-15 at 12 46 59 AM

This also didnot work
flutter_zoom_sdk:
git:
url: https://github.com/evilrat/flutter_zoom_sdk.git
ref: ios-fixes

@ark-brighthustle
Copy link
Owner

ark-brighthustle commented Jan 14, 2022

@evilRat I tried this but this Screen Shot 2022-01-15 at 12 44 56 AM

but it me this error Screen Shot 2022-01-15 at 12 45 57 AM

and I tried cloning from this -> https://github.com/evilrat/flutter_zoom_sdk/tree/ios-fixes

and this gave me this error

Screen Shot 2022-01-15 at 12 46 59 AM

This also didnot work flutter_zoom_sdk: git: url: https://github.com/evilrat/flutter_zoom_sdk.git ref: ios-fixes

try to add it to your project's pubspec.yaml
as cloning will not work

flutter_zoom_sdk:
git:
url: https://github.com/evilrat/flutter_zoom_sdk.git
ref: ios-fixes

@ark-brighthustle
Copy link
Owner

@evilRat I tried this but this Screen Shot 2022-01-15 at 12 44 56 AM

but it me this error Screen Shot 2022-01-15 at 12 45 57 AM

and I tried cloning from this -> https://github.com/evilrat/flutter_zoom_sdk/tree/ios-fixes

and this gave me this error

Screen Shot 2022-01-15 at 12 46 59 AM

This also didnot work flutter_zoom_sdk: git: url: https://github.com/evilrat/flutter_zoom_sdk.git ref: ios-fixes

flutter_zoom_sdk: ^1.0.0+7

Please try this

@Ghoral
Copy link
Author

Ghoral commented Jan 15, 2022

Hello @evilRat,
Everything works well with the build. Archived is also successfully build. I am closing this issue. However there is login issue in startMeetingNormal which will be posted on another thread.

Thank you.

@Ghoral Ghoral closed this as completed Jan 15, 2022
@waqas-alii
Copy link

waqas-alii commented Mar 25, 2022

Anyone facing Pods issue after adding "flutter_zoom_sdk" dependencies ? @evilRat @iamgouravturka

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue-platform: iOS issue is related to iOS issue-type: bug resolved Temprory issue resolved but still verification needed issue-type: bug Something isn't working severrity: high status: verification
Projects
None yet
Development

No branches or pull requests

3 participants