Remove some keys from resources plist
Need to remove keys in plist that reference being built for the simulator as ITMS has started rejecting apps with those, even though it is a non-binary resource bundle.
This commit is contained in:
parent
51746dcd35
commit
366e465d78
|
@ -30,6 +30,9 @@ fi
|
||||||
echo "building static framework..."
|
echo "building static framework..."
|
||||||
xcodebuild build -workspace Stripe.xcworkspace -scheme StripeiOSStaticFramework -configuration Release OBJROOT=$BUILDDIR SYMROOT=$BUILDDIR | xcpretty -c
|
xcodebuild build -workspace Stripe.xcworkspace -scheme StripeiOSStaticFramework -configuration Release OBJROOT=$BUILDDIR SYMROOT=$BUILDDIR | xcpretty -c
|
||||||
cd $BUILDDIR/Release-iphonesimulator
|
cd $BUILDDIR/Release-iphonesimulator
|
||||||
|
plutil -remove DTSDKName Stripe.bundle/Info.plist
|
||||||
|
plutil -remove DTPlatformName Stripe.bundle/Info.plist
|
||||||
|
plutil -remove CFBundleSupportedPlatforms Stripe.bundle/Info.plist
|
||||||
mv Stripe.bundle Stripe.framework
|
mv Stripe.bundle Stripe.framework
|
||||||
ditto -ck --rsrc --sequesterRsrc --keepParent Stripe.framework StripeiOS-Static.zip
|
ditto -ck --rsrc --sequesterRsrc --keepParent Stripe.framework StripeiOS-Static.zip
|
||||||
rm -rf Stripe.framework
|
rm -rf Stripe.framework
|
||||||
|
|
Loading…
Reference in New Issue