mierau / hotline

A modern Hotline client for Mac, iOS, and iPadOS
MIT License
157 stars 8 forks source link

New contributor onboarding flow #31

Open jverkoey opened 1 month ago

jverkoey commented 1 month ago

A fresh clone of the repo requires a few modifications to the Xcode project in order to build it. I think it's possible to pull some of the App Store-specific properties out to xcconfig files that don't get checked in to the repo and could ease initial onboarding.

The things I had to modify:

jverkoey commented 1 month ago

On run I get the following crash too:

"In order to use CloudKit, your process must have a com.apple.developer.icloud-services entitlement. The value of this entitlement must be an array that includes the string "CloudKit" or "CloudKit-Anonymous"."

Trying to figure out how to disable CloudKit throughout the project...

jverkoey commented 1 month ago

Ah just removing the identifier got me running!

diff --git a/Hotline/Hotline.entitlements b/Hotline/Hotline.entitlements
index e15d27d..0ac3dd4 100644
--- a/Hotline/Hotline.entitlements
+++ b/Hotline/Hotline.entitlements
@@ -7,9 +7,7 @@
    <key>com.apple.developer.aps-environment</key>
    <string>development</string>
    <key>com.apple.developer.icloud-container-identifiers</key>
-   <array>
-       <string>iCloud.co.goodmake.hotline</string>
-   </array>
+   <array/>
    <key>com.apple.developer.icloud-services</key>
    <array>
        <string>CloudKit</string>
mierau commented 1 month ago

Good call. I'll remove this stuff and add to .gitignore