youtube / youtube-ios-player-helper

Lightweight helper library that allows iOS developers to add inline playback of YouTube videos through a WebView
Other
1.65k stars 683 forks source link

Mac Catalyst not supported #464

Open Nekbeth opened 2 years ago

Nekbeth commented 2 years ago

Hi,

The App works great for iOS but sends this message as soon as I support Mac Catalyst:

Signing for "youtube-ios-player-helper-Assets" requires a development team. Select a development team in the Signing & Capabilities editor.

I can't find a way to change the target to development team in your code. Any help is appreciated.

brol1dev commented 2 years ago

Hi @Nekbeth ,

Could you let us know how you are importing/using the library? We want to duplicate the issue. It should be possible to change the signing through the project settings in Xcode.

Are you trying to build for a real device for debugging or are you trying to release to the app store?

Nekbeth commented 2 years ago

Hello,

Thanks for the reply. I imported it via Pods and using the Workstation to open the project. I could assign the development team but there is no target in the Xcode interface, so I guess it must be done through code.

The project is already released for iOS: Fitness Road

It's a Universal App but due to this issue, I can't release it for MacOS. Any help is appreciated.

Thanks

brol1dev commented 2 years ago

Is this the first time you are integrating this library into your project? Wondering if it just started happening. Did you upgraded to a new version of the lib?

Nekbeth commented 2 years ago

Yes, its the first time. I’m using latest updated library.

I think a target recognition needs to be built when we tick the MacCatalyst checkbox, so that is visible like the iOS counterpart. Only then can we select the developer team that is asking for.

jordanhbuiltbyhq commented 2 years ago

I am getting this error when trying to run the app on a physical iPhone after installing via CocoaPods with Xcode 14 beta. Works when running on Simulator since you don't need signing configured properly. Note our app doesn't support Mac Catalyst but I see the YouTube player helper targets do.

zhang646702205 commented 2 years ago

I am getting this error when trying to run the app on a physical iPhone after installing via CocoaPods with Xcode 14 beta. Works when running on Simulator since you don't need signing configured properly. Note our app doesn't support Mac Catalyst but I see the YouTube player helper targets do.

did you fix this? i meet the same problem.

guoqianglaien commented 1 year ago

I am getting this error when trying to run the app on a physical iPhone after installing via CocoaPods with Xcode 14.2 Works when running on Simulator since you don't need signing configured properly. Note our app doesn't support Mac Catalyst but I see the YouTube player helper targets do.

eugeniobaglieri commented 1 year ago

Same problem here. Our App doesn't support Mac Catalyst. Any update on that?

bhadeshiyamitul commented 1 year ago

Anyone got solution for this issue ?