Replies: 4 comments
-
if I remove use_framework!
fatal crash.
maybe I have not enabled something in the project settings? |
Beta Was this translation helpful? Give feedback.
-
Try disabling modular headers for PROJ.
https://github.com/ngageoint/PROJ/wiki/Usage#module-headers And you might need |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
You shouldn't need to add the files since you aren't using PROJ directly (proj-ios adds them). I don't think adding them again would cause an issue but also not sure. Here are some of our podfiles as examples (PROJ is through geopackage-ios):
With the most recent CocoaPods version, try manually cleaning and building your project.
![]() ![]() ![]() |
Beta Was this translation helpful? Give feedback.
-
Please advise in detail how I can install the framework for use in Swift , the steps I have taken:
now it looks like
#endif /* Header_h */
![Снимок экрана 2024-04-25 в 18 19 03](https://private-user-images.githubusercontent.com/16240094/325601916-cab68696-f009-41dd-ba9b-a790b2a0da7a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNjMwMjEsIm5iZiI6MTczOTI2MjcyMSwicGF0aCI6Ii8xNjI0MDA5NC8zMjU2MDE5MTYtY2FiNjg2OTYtZjAwOS00MWRkLWJhOWItYTc5MGIyYTBkYTdhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDA4MzIwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThmYzkxOWYwYTIxYTBlMDJhNDdhMWNlM2ZiNjhhZDdmYTZiZTBmNDBiNThhMDlmMDM2ZDg1YTAxZjk2YzFmNTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.OnmlOSaq35kchB8CSggcYIOAWVhuFuwh9noX9vpYYRM)
3) I press cmd+b to build the project and 22 errors appear, screenshot attached.
Beta Was this translation helpful? Give feedback.
All reactions