Building for iOS from source using Xcode - No binary addons
#1
I have built the PVR addons as a step of the build process, then using XCode to run the kodi build, followed by the deb target as per the docs.

When I run the app deployed via Xcode I can't see any of the PVR addons. 

Have I followed the process incorrectly or is there a step I'm missing?
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#2
The documentation is wrong. The reason why it works in our CI is https://github.com/xbmc/xbmc/blob/fade69...ns#L19-L20.
Reply
#3
So I just need to set the install prefix correctly and then it should be ok?

Or does each addon need to built separately setting the install prefix?
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#4
Yes INSTALL_PREFIX has to be set to your-kodi-build-dir/addons. There is no need to build every addon seperately.
Reply
#5
As we generate the xcode project build dir after building the binary addons will that make a difference?

Or does this matter once they exist in the right place (i.e. just build them in the right place before generating the project)?

I will try this later today and find out.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#6
So if using make the following would build the addons correctly when run from the xbmc source dir:

Code:

INSTALL_PREFIX="../../../../../build/addons"
make -j$(getconf _NPROCESSORS_ONLN) -C tools/depends/target/binary-addons ADDONS="pvr.*" INSTALL_PREFIX="../../../../../../kodi-build/build/addons"

If using a separate build dir, i.e. $HOME/kodi.build:

Code:

INSTALL_PREFIX="../../../../../../kodi-build/build/addons"
make -j$(getconf _NPROCESSORS_ONLN) -C tools/depends/target/binary-addons ADDONS="pvr.*" INSTALL_PREFIX="$INSTALL_PREFIX"

Once I verify this is working I will create a PR for the docs.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply

Logout Mark Read Team Forum Stats Members Help
Building for iOS from source using Xcode - No binary addons0