-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
[docs] Update README.osx #11202
[docs] Update README.osx #11202
Conversation
I like the markdown - well done with the adaptions imo - thx |
Thanks. Ok osx, ios fully done. @Memphiz can you check if the versions in the ios doc are ok? I added sierra and el capitan. From what I understood Xcode 8 is not supported until you PR goes in? Also I removed the line recommending ios sdk 8.1 because the sdk version should match the device people want to build for. |
Any volunteers for one of the other files? :) |
I can do linux/Ubuntu/RPi. Just not today probably. |
https://github.com/xbmc/xbmc/tree/master/Kodi.xcodeproj seems seems not to used now |
@fetzerch nope the sdk advise needs to stay. There were issues when people used SDKs that were not the ones i developed for. For example the external screen behavior when using airplay mirroring behaves different when using different SDK versions regardless of the used deployment target (which stayed the same of course). At least that was the case around ios 8.x SDKs (might be no issue with newer SDKs anymore but i didn't check that). So while i never thought that would be the case - Apple developers screwed up at times ;). |
@Memphiz Thanks for the explaination, added it back. Any other things you'd want me to fix? Otherwise we can get it in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good beside my remarks - thx alot for this. I think the next PR would be removing the Xcode project as it has no value now anymore.
Kodi for iOS is composed of a main binary with numerous dynamic libraries and | ||
codecs that support a multitude of music and video formats. | ||
|
||
The minimum version of iOS you need to run(!) Kodi is 5.1.1 atm. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
||
./configure --host=arm-apple-darwin --with-sdk=8.0 | ||
|
||
Ensure that you also adapt the Xcode project to use this SDK version. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
cd $HOME/Kodi/build | ||
/Users/Shared/xbmc-depends/buildtools-native/bin/cmake -G Xcode -DCMAKE_TOOLCHAIN_FILE=/Users/Shared/xbmc-depends/iphoneos9.3_armv7-target/share/Toolchain.cmake ../project/cmake | ||
|
||
The toolchain file location differs depending on your iOS and SDK version. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Kodi maintains a set of binary addons (PVR clients, Visualizations, Audio DSP | ||
plugins and more). They can be built as shown below: | ||
|
||
make -C target/binary-addons |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
||
**NOTE**: If you only want to build specific addons you can specify like this: | ||
|
||
make -C target/binary-addons ADDONS="pvr.hts pvr.dvblink" |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
||
./configure --host=arm-apple-darwin --with-sdk=10.9 | ||
|
||
Ensure that you also adapt the Xcode project to use this SDK version. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Kodi maintains a set of binary addons (PVR clients, Visualizations, Audio DSP | ||
plugins and more). They can be built as shown below: | ||
|
||
make -C target/binary-addons |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
||
**NOTE**: If you only want to build specific addons you can specify like this: | ||
|
||
make -C target/binary-addons ADDONS="pvr.hts pvr.dvblink" |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
cd $HOME/Kodi/build | ||
/Users/Shared/xbmc-depends/buildtools-native/bin/cmake -G Xcode -DCMAKE_TOOLCHAIN_FILE=/Users/Shared/xbmc-depends/macosx10.12_x86_64-target/share/Toolchain.cmake ../project/cmake | ||
|
||
The toolchain file location differs depending on your macOS and SDK version. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
xcodebuild, triggered by CMake: | ||
|
||
cd $HOME/Kodi/build | ||
cmake --build . --config "Debug" -- -verbose -jobs $(sysctl -n hw.ncpu) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Thanks, I've tried to fix all comments, but i'm not sure with the Dropping the xcode project is done in: #11217 |
@Memphiz: I've installed the 10.9 sdk now from https://github.com/phracker/MacOSX-SDKs and
I'm on sierra with Xcode 8.2. |
No idea - but what is strange ist that deployment target is set to 10.8 in cflags (which is correct) but to 10.9 via export MACOSX_DEPLOYMENT_TARGET (which is wrong). |
Thanks, sorted it out. Now it's really just building depends with the btw: any chance of rebasing #10539 now that krypton is branched? |
Explain how to use cmake to generate the xcode project files.
I've also changed the file to markdown. Is that something we want, or should I change it back to plain text?
Preview:
Will update the others once we agreed on the format and style.
ping: @Memphiz, @hudokkow, @wsnipex