Post

Replies

Boosts

Views

Activity

Can i use c++ in swift app project
Can i use c++ library with c library in swift app project Hello. I want to use a C++ library in my Swift app project. First, our company has an internal solution library. When built, it generates a Static Library in '.a' format, and we use it by connecting the library's Header to the App_Bridging_Header. There's no problem with this part. However, the new feature now includes C++. It also generates a Static Library in '.a' format. So, I tried to use the same method and created an App_Bridging_Header. But an error occurs, and I can't proceed. The first error occurs in the library file: 'iostream' file not found The second error occurs in the App_Bridging_Header: failed to emit precompiled header '/Users/kimjitae/Library/Developer/Xcode/DerivedData/ddddd-glmnoqrwdrgarrhjulxjmalpyikr/Build/Intermediates.noindex/PrecompiledHeaders/ddddd-Bridging-Header-swift_3O89L0OXZ0CPD-clang_188AW1HK8F0Q3.pch' for bridging header '/Users/kimjitae/Desktop/enf4/ddddd/ddddd/ddddd-Bridging-Header.h' Our library is developed in C++ using Xcode, and there's no problem when we run and build just the library project. The build succeeds, and the '.a' file is generated correctly. However, when we try to connect it with the app, the above problems occur. Could there be a problem because we also need to use the existing C library alongside this? The build is successful in an app project created with Objective-C.
4
0
687
Oct ’24
Can anyone add Privacy Manifest???
(I am working on an iOS project.) I'm looking into Privacy Manifest as an Apple policy change. I have a problem here.. some of the libraries I use are no longer updating. I can't find a library to replace it, so I'm going to fork the library, and I'm going to add Privacy Manifest. Apple API Doc I will download the fork library into my Mac and search the entire API list announced by Apple above through Xcode one by one. If I find a problem API, I will add it to Privacy Manifest. Is this a good way to do it??? Is there any better way?? Wouldn't it be a problem for me to add??
2
0
1.5k
Dec ’23
How to send Push without sound and indication on iOS
Hi, I need a feature in the iOS app that requires updating the user screen via FCM. In other words, I have to update it with no sound and screen display, but this doesn't work. When I remove the notification field, the notification will not be displayed to the user, but the sound will be played. If I remove the sound field, I can make no sound, but the user will be notified. If I remove both, I'm not getting this from the iOS app. How can I solve this?? Which option should I send Push from the server?? I'm also using Notification Service Extension.
1
0
1.4k
Feb ’24
Is the GLKit library Apple's?
Hi. My team is still using GLKit. I have no choice but to keep using it to support non-iOS products as well. (We don't have many developers.) While researching 'Privacy Manifest', I found out that the third party library needs to add 'PrivacyInfo'. I confirmed on Xcode that GLKit is Apple SDKs. Does this mean it's not a third party library? Is using GLKit not related to 'Privacy Manifest'?
1
0
974
Mar ’24
Is there a reason why the colors are displayed differently in the mail related to Privacy Manifest?
This is the mail I received from Apple while testing. If you look at it, it shows that there are two items that are problematic. As you can see, "ITMS-91053: Missing API decimation" shows the same problem in both, but the colors are displayed differently. (Purple, Gray) There were four problems in the mail I received while testing more, but all of them received the same color. Is this just a mail error?? Or does the color have a meaning?
1
0
1.4k
Mar ’24
How to Support for Static Library(.a) Privacy Manifest
Our team uses a static library (.a) consisting of C and C++. Our team is developing static libraries internally and not sharing them to the outside. Should we still provide 'Privacy Manifest' in this case?? I added the contents of our team's static library (.a) to the app's 'Privacy Manifest' and there was no problem. Nevertheless, if I have to add it separately to the static library (.a), should I create a new framework project itself and not use the .a? Or can I just create a new framework and wrap the .a file??
1
0
935
Apr ’24
Does Remote Notification (content-available) not work in iOS's Not running and Suspended state??
Hello, I would like to implement the function of unsubscribe FCM topics that I was subscribing to when I received a specific push from the server. It was implemented through "willPresent" when the app was running, but I don't know how to do it when the app is not running. I activated the 'Background fetch' and 'Remote Notifications' options for now. const message = { notification: { title: 'FCM Topic UnSubscribe', body: 'TestTestTest', }, data: { payload: JSON.stringify(payloadJson) }, apns: { payload: { aps: { sound: 'default', 'mutable-content': 1, 'content-available': 1 } } }, topic: 'unsubscribe_topic', }; Test node code Payload contains the type of topic you want to unsubscribe from. And I added a function to receive push from didReceiveRemoteNotification and handle logic. But this doesn't work. Does Remote Notification (content-available) not work in iOS's Not running and Suspended state?? I'm also using the Notification Service Extension, is this related to it?
1
0
945
Jul ’24
Questions About CloudKit Security Roles and Permissions
Hi, I'm using CloudKit to create an app that backs up and records your data to iCloud. Here's what I'm unsure about: I understand that the 'CloudKit Dashboard' has 'Security Roles'. I thought these were meant to set permissions for accessing and modifying users' data, but I found there was no change even when I removed all 'Permissions' from 'Default Roles'. Can you clarify? I'd like to know what _world, _icloud, and _creator in Default Roles mean respectively. I would like to know what changes the creation, read, and write permissions make. Is it better to just use the default settings? Here's what I understand so far: Default Roles: _world: I don't know _icloud: An account that is not my device but is linked to my iCloud _creator: My Device Permissions: create: Create data read: Read data write: Update and delete data. I'm not sure if I understand this correctly. Please explain.
1
0
1.1k
Jul ’24
The 'Privacy Manifest' of the library downloaded from SPM is not recognized in the 'Privacy Report'.
I am using the library through SPM. I asked the library developer to add Privacy Manifest, and it was completed. But when I checked Archive on Xcode, it doesn't generate a report. How can I solve it?? What modifications should I ask library developers to make?? I've seen in other questions to check out "Do not embed". But it seems to be different from this situation.
0
1
814
Dec ’23
Is a Privacy Manifest Required When Using Notification Service Extension?
Apple requires declaring the use of UserDefaults in both the App and third-party libraries in the PrivacyInfo. However, I also utilize UserDefaults in the Notification Service Extension. Should I treat the Extension as part of the App and only declare it within the App project? Or do I need to separately declare it for the Extension as well?
0
2
1k
Feb ’24
Do I also need PrivacyManifest for the .a library I made for internally use?
Our company has a library that can be used internally. This is being used as a .a file. The languages are in C and C++. C code contains stat. Is this the same stat as Apple refers to?? How do you solve this??
Replies
4
Boosts
0
Views
1.1k
Activity
Mar ’24
xcode clang: error: "cannot specify -o when generating multiple output files"
Hello xcode clang: error: "cannot specify -o when generating multiple output files" I don't think I should after updating Xcode 15.3, where should I check?? I used it well before.
Replies
4
Boosts
0
Views
1.3k
Activity
Mar ’24
Can i use c++ in swift app project
Can i use c++ library with c library in swift app project Hello. I want to use a C++ library in my Swift app project. First, our company has an internal solution library. When built, it generates a Static Library in '.a' format, and we use it by connecting the library's Header to the App_Bridging_Header. There's no problem with this part. However, the new feature now includes C++. It also generates a Static Library in '.a' format. So, I tried to use the same method and created an App_Bridging_Header. But an error occurs, and I can't proceed. The first error occurs in the library file: 'iostream' file not found The second error occurs in the App_Bridging_Header: failed to emit precompiled header '/Users/kimjitae/Library/Developer/Xcode/DerivedData/ddddd-glmnoqrwdrgarrhjulxjmalpyikr/Build/Intermediates.noindex/PrecompiledHeaders/ddddd-Bridging-Header-swift_3O89L0OXZ0CPD-clang_188AW1HK8F0Q3.pch' for bridging header '/Users/kimjitae/Desktop/enf4/ddddd/ddddd/ddddd-Bridging-Header.h' Our library is developed in C++ using Xcode, and there's no problem when we run and build just the library project. The build succeeds, and the '.a' file is generated correctly. However, when we try to connect it with the app, the above problems occur. Could there be a problem because we also need to use the existing C library alongside this? The build is successful in an app project created with Objective-C.
Replies
4
Boosts
0
Views
687
Activity
Oct ’24
Can anyone add Privacy Manifest???
(I am working on an iOS project.) I'm looking into Privacy Manifest as an Apple policy change. I have a problem here.. some of the libraries I use are no longer updating. I can't find a library to replace it, so I'm going to fork the library, and I'm going to add Privacy Manifest. Apple API Doc I will download the fork library into my Mac and search the entire API list announced by Apple above through Xcode one by one. If I find a problem API, I will add it to Privacy Manifest. Is this a good way to do it??? Is there any better way?? Wouldn't it be a problem for me to add??
Replies
2
Boosts
0
Views
1.5k
Activity
Dec ’23
Should Privacy Manifest be applied to all third party libraries??
WWDC 2023 states that app developers should be provided with a Privacy Manifest. And Apple released a list of influential libraries. Should I add it in the case below as well?? If Apple is not the mentioned library If 'Describing use of required reason API' is not used Summary: Are all libraries subject to Privacy Manifest?
Replies
2
Boosts
2
Views
1.4k
Activity
Jan ’24
Will Apple's 'Privacy Manifest' email be sent during the screening process??
Hello. From March 13, 2024, he said he would send an e-mail related to 'Privacy Manifest'. Does Apple send us an email to the review process? Or does it send the app after it is finally released??
Replies
2
Boosts
0
Views
1.1k
Activity
Mar ’24
Has anyone received any mail regarding Privacy Manifest??
Apple will enforce Privacy Manifest starting this spring. Apple said it would inform you through e-mail before then. I think a lot of developers should have already received mail. But it's harder to find mail-related content than I thought. Has anyone received an email? If so, what is it about??
Replies
1
Boosts
0
Views
839
Activity
Feb ’24
How to send Push without sound and indication on iOS
Hi, I need a feature in the iOS app that requires updating the user screen via FCM. In other words, I have to update it with no sound and screen display, but this doesn't work. When I remove the notification field, the notification will not be displayed to the user, but the sound will be played. If I remove the sound field, I can make no sound, but the user will be notified. If I remove both, I'm not getting this from the iOS app. How can I solve this?? Which option should I send Push from the server?? I'm also using Notification Service Extension.
Replies
1
Boosts
0
Views
1.4k
Activity
Feb ’24
Is the GLKit library Apple's?
Hi. My team is still using GLKit. I have no choice but to keep using it to support non-iOS products as well. (We don't have many developers.) While researching 'Privacy Manifest', I found out that the third party library needs to add 'PrivacyInfo'. I confirmed on Xcode that GLKit is Apple SDKs. Does this mean it's not a third party library? Is using GLKit not related to 'Privacy Manifest'?
Replies
1
Boosts
0
Views
974
Activity
Mar ’24
Is there a reason why the colors are displayed differently in the mail related to Privacy Manifest?
This is the mail I received from Apple while testing. If you look at it, it shows that there are two items that are problematic. As you can see, "ITMS-91053: Missing API decimation" shows the same problem in both, but the colors are displayed differently. (Purple, Gray) There were four problems in the mail I received while testing more, but all of them received the same color. Is this just a mail error?? Or does the color have a meaning?
Replies
1
Boosts
0
Views
1.4k
Activity
Mar ’24
How to Support for Static Library(.a) Privacy Manifest
Our team uses a static library (.a) consisting of C and C++. Our team is developing static libraries internally and not sharing them to the outside. Should we still provide 'Privacy Manifest' in this case?? I added the contents of our team's static library (.a) to the app's 'Privacy Manifest' and there was no problem. Nevertheless, if I have to add it separately to the static library (.a), should I create a new framework project itself and not use the .a? Or can I just create a new framework and wrap the .a file??
Replies
1
Boosts
0
Views
935
Activity
Apr ’24
Does Remote Notification (content-available) not work in iOS's Not running and Suspended state??
Hello, I would like to implement the function of unsubscribe FCM topics that I was subscribing to when I received a specific push from the server. It was implemented through "willPresent" when the app was running, but I don't know how to do it when the app is not running. I activated the 'Background fetch' and 'Remote Notifications' options for now. const message = { notification: { title: 'FCM Topic UnSubscribe', body: 'TestTestTest', }, data: { payload: JSON.stringify(payloadJson) }, apns: { payload: { aps: { sound: 'default', 'mutable-content': 1, 'content-available': 1 } } }, topic: 'unsubscribe_topic', }; Test node code Payload contains the type of topic you want to unsubscribe from. And I added a function to receive push from didReceiveRemoteNotification and handle logic. But this doesn't work. Does Remote Notification (content-available) not work in iOS's Not running and Suspended state?? I'm also using the Notification Service Extension, is this related to it?
Replies
1
Boosts
0
Views
945
Activity
Jul ’24
Questions About CloudKit Security Roles and Permissions
Hi, I'm using CloudKit to create an app that backs up and records your data to iCloud. Here's what I'm unsure about: I understand that the 'CloudKit Dashboard' has 'Security Roles'. I thought these were meant to set permissions for accessing and modifying users' data, but I found there was no change even when I removed all 'Permissions' from 'Default Roles'. Can you clarify? I'd like to know what _world, _icloud, and _creator in Default Roles mean respectively. I would like to know what changes the creation, read, and write permissions make. Is it better to just use the default settings? Here's what I understand so far: Default Roles: _world: I don't know _icloud: An account that is not my device but is linked to my iCloud _creator: My Device Permissions: create: Create data read: Read data write: Update and delete data. I'm not sure if I understand this correctly. Please explain.
Replies
1
Boosts
0
Views
1.1k
Activity
Jul ’24
The 'Privacy Manifest' of the library downloaded from SPM is not recognized in the 'Privacy Report'.
I am using the library through SPM. I asked the library developer to add Privacy Manifest, and it was completed. But when I checked Archive on Xcode, it doesn't generate a report. How can I solve it?? What modifications should I ask library developers to make?? I've seen in other questions to check out "Do not embed". But it seems to be different from this situation.
Replies
0
Boosts
1
Views
814
Activity
Dec ’23
Is a Privacy Manifest Required When Using Notification Service Extension?
Apple requires declaring the use of UserDefaults in both the App and third-party libraries in the PrivacyInfo. However, I also utilize UserDefaults in the Notification Service Extension. Should I treat the Extension as part of the App and only declare it within the App project? Or do I need to separately declare it for the Extension as well?
Replies
0
Boosts
2
Views
1k
Activity
Feb ’24