Skip to content

Commit

Permalink
[SASU-0120] updated creation of entitlement
Browse files Browse the repository at this point in the history
  • Loading branch information
FaikCoskunCakir committed Jan 31, 2024
1 parent e556535 commit 74b9278
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
6 changes: 1 addition & 5 deletions Projects/SampleAppSwiftUI/Project.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import ProjectDescription
import ProjectDescriptionHelpers

let pushNotificationEntitlement: [String: Plist.Value] = [
"aps-environment": "development"
]

let project = Project.createAppProject(
name: "SampleAppSwiftUI",
projectPackages: [
Expand Down Expand Up @@ -36,5 +32,5 @@ let project = Project.createAppProject(
],
hasUnitTestTarget: true,
hasUITestTarget: true,
entitlements: .dictionary(pushNotificationEntitlement)
entitlements: .dictionary(["aps-environment": "development"])
)
16 changes: 8 additions & 8 deletions Projects/SampleAppSwiftUI/SampleAppSwiftUI/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>FirebaseAppDelegateProxyEnabled</key>
<false/>
<key>webSocket_base_url</key>
<string>$(webSocket_base_url)</string>
<key>base_url</key>
<string>$(base_url)</string>
<key>personal_api</key>
<string>$(personal_api)</string>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
Expand Down Expand Up @@ -39,6 +31,8 @@
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>FirebaseAppDelegateProxyEnabled</key>
<false/>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIApplicationSceneManifest</key>
Expand Down Expand Up @@ -76,5 +70,11 @@
</array>
<key>WebSocket_Base_URL</key>
<string>$(WebSocket_BASE_URL)</string>
<key>base_url</key>
<string>$(base_url)</string>
<key>personal_api</key>
<string>$(personal_api)</string>
<key>webSocket_base_url</key>
<string>$(webSocket_base_url)</string>
</dict>
</plist>

0 comments on commit 74b9278

Please sign in to comment.