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??
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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.
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.
(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??
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?
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??
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
Privacy
App Review
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??
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.
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'?
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?
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??
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
Privacy
Frameworks
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?
Topic:
App & System Services
SubTopic:
Notifications
Tags:
APNS
Messages
User Notifications
Background Tasks
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.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags:
CloudKit
Cloud and Local Storage
CloudKit Dashboard
SwiftData
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.
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?