ldwardx / mpv-build-mac-iOS

build mpv for mac and iOS
18 stars 5 forks source link

Build issue for iOS #1

Open Ahmedbutt opened 6 years ago

Ahmedbutt commented 6 years ago

Reproduction steps:

  1. Clone script into folder
  2. Open termianl with script path
  3. Run following command:
    • ./update
    • ./build -p iOS Issue: screen shot 2018-06-12 at 4 30 36 pm
ldwardx commented 6 years ago

Is your Xcode version 8.3.3?

Ahmedbutt commented 6 years ago

My xcode verson is : Xcode 9.3

ldwardx commented 6 years ago

Using Xcode 9.3 to build FFmpeg's armv7 version will fail. I found some inaccurate information, probably because Xcode9.3 weakened support for armv7.

Ahmedbutt commented 6 years ago

Can you tell me any change in script to compile it ? I also tried to compile mpv independently, it is also causing some issue.

ldwardx commented 6 years ago

You need to install Xcode 8.3.3 and then set Xcode->Preference->Locations->Command Line Tools to Xcode 8.3.3. The script supports independent building of any library. Get more info with ./build -h.

Ahmedbutt commented 6 years ago

I also tried to compile mpv independently. But it is also causing not building. Please see follwoing issue.

screen shot 2018-06-12 at 5 31 48 pm
Ahmedbutt commented 6 years ago

I will download xcode 8.3.3 and tried to compile ffmpeg and let you know.

Ahmedbutt commented 6 years ago

@ybma-xbzheng I have followed your instruction and installed xcode 8.3.3. I got following error:

screen shot 2018-06-27 at 4 01 12 pm
antonz0319 commented 4 years ago

@Ahmedbutt , any update ? Were you able to solve this issue?

Ahmedbutt commented 4 years ago

Still, I am unable to use this project on iOS. @antonz0319 , if you found anything, please let me know. Thanks

Red-Mak commented 4 years ago

Any news on this ? thanks

iahmedbutt commented 4 years ago

@Red-Mak Nothing.

SpectatorNan commented 3 years ago

mpv-ios-build @Red-Mak @Ahmedbutt Maybe you can try this

alexiscn commented 2 years ago

mpv-ios-build @Red-Mak @Ahmedbutt Maybe you can try this

Your build scripts not working with Xcode 13.

Error Message:

Unable to find either POSIX or MinGW-w64 environment, or compiler does not work.
MenThu commented 2 years ago

mpv-ios-build @Red-Mak @Ahmedbutt Maybe you can try this

Your build scripts not working with Xcode 13.

Error Message:

Unable to find either POSIX or MinGW-w64 environment, or compiler does not work.

I also encountered the same problem:Xcode version 12. (12E262) Did you solve it?

iahmedbutt commented 2 years ago

I was able to build ir. However, i am still unable to use the created libraries and run the code.

Regards

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: MenThu @.> Sent: Tuesday, December 21, 2021 9:57:36 PM To: ldwardx/mpv-build-mac-iOS @.> Cc: Ahmed Ashraf Butt @.>; Comment @.> Subject: Re: [ldwardx/mpv-build-mac-iOS] Build issue for iOS (#1)

mpv-ios-buildhttps://github.com/nihalahmed/mpv-ios-scripts @Red-Makhttps://github.com/Red-Mak @Ahmedbutthttps://github.com/Ahmedbutt Maybe you can try this

Your build scripts not working with Xcode 13.

Error Message:

Unable to find either POSIX or MinGW-w64 environment, or compiler does not work.

I also encountered the same problem:Xcode version 12. (12E262) Did you solve it?

— Reply to this email directly, view it on GitHubhttps://github.com/ldwardx/mpv-build-mac-iOS/issues/1#issuecomment-999245628, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALJV6RYKCI5OJ2WTR343ID3USE5CBANCNFSM4FERBGAQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.***>

SpectatorNan commented 2 years ago

mpv-ios-build @Red-Mak @Ahmedbutt Maybe you can try this

Your build scripts not working with Xcode 13. Error Message:

Unable to find either POSIX or MinGW-w64 environment, or compiler does not work.

I also encountered the same problem:Xcode version 12. (12E262) Did you solve it?

I've only built successfully with Xcode 11 ,but after upgrade Xcode ...

MenThu commented 2 years ago

I have been able to compile libmpv.a, just drop the version of waf down. waf version:waf 2.0.9 (8a950e7bca9a3a9b1ae62aae039ef76e2adc4177)

cherishloveyou commented 1 year ago

build error uchardet Xcdoe14.2