Bug 456380

Summary: The app doesn't build at all
Product: [Applications] kdeconnect Reporter: hanyoung
Component: ios-applicationAssignee: Lucas W. <lucas.wang>
Status: RESOLVED WORKSFORME    
Severity: critical CC: public-apollonian
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Apple App Store   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description hanyoung 2022-07-06 05:04:04 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. clone the repo
2. build
3. 

OBSERVED RESULT
dozens of compile error

EXPECTED RESULT
app compiles

SOFTWARE/OS VERSIONS
Windows: 
macOS: Monterey 12.1
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
XCode 13.1
Comment 1 Apollo Zhu 2022-10-28 22:05:31 UTC
1. Make sure you have the latest Xcode version (we require at least Xcode 13.2 for concurrency back deployment). Then you should be able to build the app to iOS simulators with no issues
2. Compiling for physical iOS devices is more complicated. We have some special entitlements from Apple (namely https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_networking_multicast and https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_device-information_user-assigned-device-name). The proper way would be requesting these entitlements using your paid Apple Developer account (and hope that Apple would approve it, no one has tried yet), but you can also try the workaround I documented https://apollozhu.github.io/en/2022/01/15/sideload-kde-connect-ios/. If it works for you then maybe you can add it to the build instructions on KDE wiki, I didn't do it since no one else tried this workaround either.