Is there a way to add entries to `Info.plist` for ...
# kotlin-native
h
Is there a way to add entries to
Info.plist
for framework without doing it manually through updating the file after compilation?
s
No.
o
what would you like to see there?
h
Maybe just a simple property on plugin extension that allows to append user string at the end of
<dict>
.
My use case is emulator tests with
NSAllowsArbitraryLoads
d
Thats usually best done before compilation. If you need to change things during a build(like in a CI system) there is an excellent tool called
plistbuddy
that can help automate those changes.
j
@olonho Has there been progress on this? I’m trying to automate things using Carthage as a dependency manager for iOS and the PList needs to have certain properties in it. Specifically
DTSDKName
according to an issue on their repo https://github.com/Carthage/Carthage/issues/1056#issuecomment-174293745 Know of a way to toss a value in to the PList or where that process lives so I can go modify it? Update That may not be all that carthage needs after all. It looks like it requires
.xcodeproj/xcshareddata/xcschemes
to fetch from github. I’m not sure if that’s worth the work for you all or not.