Entitlements not included when generating with Tulsi
while generating ios_application with Tulsi, entitlements are not included in the generated project.
ios_application(
name = "MyApp",
bundle_id = "MyApp.Example",
entitlements = "//MyApp:Entitlement",
infoplists = [
"//MyApp/Info.plist"
],
minimum_os_version = "11.0",
families = ["iphone"],
deps = ["Sources"],
linkopts = [
'-lxml2',
'-lz',
'-ObjC'
]
)
filegroup(
name = 'Entitlement',
srcs = [
'MyApp.entitlements'
]
)
Same problem here, did you found some workaround?
Same problem here, did you found some workaround?
not yet Please let me know if u find anything
You mean the pre-processed ones? You can add them via the additionalFilePaths in your tulsigen.
additionalFilePaths
@thii I have this entitlement file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.nfc.readersession.formats</key>
<array>
<string>NDEF</string>
<string>TAG</string>
</array>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)com.MyApp.com</string>
</array>
</dict>
</plist>
and how to provide its path in tulsigen?
Add the path to that file to your tulsigen file, for example: https://github.com/bazelbuild/tulsi/blob/c7609aa3914123f1b5f1a6b5caff551617a325c9/Tulsi.tulsiproj/Configs/Tulsi.tulsigen#L32-L34
Add the path to that file to your tulsigen file, for example:
https://github.com/bazelbuild/tulsi/blob/c7609aa3914123f1b5f1a6b5caff551617a325c9/Tulsi.tulsiproj/Configs/Tulsi.tulsigen#L32-L34
@thii even after adding the file path to additionalFilePaths, entitlements are not included in the generated project
Thanks for submitting this issue but this tool is being deprecated. Please checkout rules_xcodeproj for a more complete and maintained Xcode integration.