I created a doccarchive that supports objc and swift using xcode build setting DOCC_EXTRACT_SWIFT_INFO_FOR_OBJC_SYMBOLS.
When I made a docc document, I can select objc or swift on Xcode documentation like the yellow box of the below image.
However, when I rendered to a web server, that selection link is gone.
Blue box of the 2nd image works different way with yellow box of 1st image.
The yellow one shows all functions. Even functions not written in that language are converted to other languages and displayed. But the blue one shows functions only written in the selected language.
Rendering follows.. https://developer.apple.com/documentation/xcode/distributing-documentation-to-other-developers#Host-a-documentation-archive-on-your-website
General
RSS for tagDive into the vast array of tools and services available to developers.
Post
Replies
Boosts
Views
Activity
Hello all professions,
I'm now facing an problem with distribution certification expiration for the enterprise account.
We're using enterprise account for publishing some internal apps for our organization without uploading to AppStore but by other platforms, but both cert and profile have 1 year expiration and now it's about to expire. So we're going to extend the app expiration date now.
Read some articles that the best practice is renewing cert before it expired, for some reasons that we CANNOT add new certifications if we're not revoking any of existing certs, so what we are going to do is:
We will revoke the cert first let's say certA, and then create a new cert with all configurations as same as certA let's say certB and then distribute new app version by certB.
If we're going to do so, then the question comes:
Will the existing installed apps distributed by certA still available? (if it has couple months to be expired for certA)
Continue with question1, if no, all existing apps will not be available anymore, then what's the best practice for us to manage certs and app for the users without cert renewing downtime?
Will there be any issue if we user another cert let's say certC just create now to distribute new app version without revoking current certA? such as it will be recognized a brand new app, etc
thanks all
For over a year we have been unable to access the SKAN developer profile and testing customer integrations without one is at best frustratingly slow, at worst impossible due to censorship thresholds.
When I visit this page with our developer account, it says there are no results. We have an enterprise account and drive hundreds of thousands of SKAN installs a day so I don't understand how there could be a permissions or licensing issue.
Has anyone had a similar issue they were able to resolve?
I have contacted support, opened and bumped the issue via Feedback Assistant and, and have even tried contacting people at Apple, but no one seems interested helping us fix the issue.
I have successfully created an Apple developer account, which has been verified. Additionally, I have subscribed to the "Apple Developer Program." I initially received an email notification from Apple, indicating that my order would be processed within 2 business days. However, it has now been approximately 8 business days, and I have not received any further communication from Apple.
I am inquiring whether there might be any missing steps or issues that need to be addressed in order to proceed with the publication of our application.
I eagerly await your response.
I'm struggling with compiling lib opus so that it works in the simulator on Apple silicon. I found a thread on the forums that seems to address part of the issue, but I am unable to build the static lib so that it shows the platform it is targeting.
The thread mentions that I should be able to run otool and see a "load commands" that indicate the platform.
When I run otool against the static library that we have created, it doesn't list any load commands. I don't see LC_BUILD_VERSION or LC_VERSION_MIN_***. Why would there not be any "Load command" entries?
% otool -l -arch arm64 dependencies/lib/libopus.a
Archive : dependencies/lib/libopus.a
dependencies/lib/libopus.a(bands.o): is an LLVM bit-code file
dependencies/lib/libopus.a(celt.o): is an LLVM bit-code file
dependencies/lib/libopus.a(celt_encoder.o): is an LLVM bit-code file
dependencies/lib/libopus.a(celt_decoder.o): is an LLVM bit-code file
...
dependencies/lib/libopus.a(mlp.o): is an LLVM bit-code file
dependencies/lib/libopus.a(mlp_data.o): is an LLVM bit-code file
The static library has the two architectures embedded in it, but when compiling the framework for the simulator platform the linking phase complains that we are building for the simulator, but linking object code built for ios.
% lipo -info dependencies/lib/libopus.a
Architectures in the fat file: dependencies/lib/libopus.a are: x86_64 arm64
In case you are curious, I'm just piggybacking on this project that has a build-libopus.sh script in the root directory that builds the official open source Opus library files. My hope is to build this static library for ios, ios-simulator, and mac-catalyst platforms and then include them in a xcframework.
Hello Everyone,
We have an App which we have been developed only for our internal employees and the app would only work when device is connected with our intranet. This App would be distributed via our MDM on devices of the authorized users.
We tried uploading the app on app store but was rejected as they could not validate the App.
we tried providing them the vpn connectivity as well, but Apple team refused to connect using vpn.
Now we have learned that we can take the Apple Developer Enterprise Program. now we want to clarify following:
a. While in some forums it states that Apps under Apple Developer Enterprise Program does not need to go through the App review process. Is this correct?
b. Can we use our existing MDM for distributing the App to authorized users?
c. If (a) and (b) are yes, What steps are needed to ensure that we can distribute the app without any issues?
A quick help on this would be very helpful
Hello,
AppManaged documentation has been updated and shares some details about current state of DDM and app management.
Is there any way to specify App Config with DDM, the same way as we can do with MDM with ManagedApplicationConfiguration and InstallApplication command ?
I see attributes are available but not config.
Thanks !
i want to integrate nuance dragon kit with sdk i found docset that i have to add in xcode after that i can view that documentation.Please help me.
Hi All,
I would like to know if the 'deferred deep link' feature is compatible with the apps hosted in the Enterprise App Store.
A 'deferred deep link' is intended to direct the user to the App Store page, where they can download the app. During the initial startup, SFSafariViewController is expected to provide the URL parameters passed as part of the deep link.
I would appreciate your assistance in confirming whether the 'deferred deep link' functionality will work seamlessly if we use Enterprise Appstore for distribution.
Thanks and regards,
Sujith Joseph
Xcode15.2 LLDB 太慢了,简直无法工作,好几分钟才断点出变量传,然后断点无法跳出继续执行。Xcode14.1则不会有这些问题,望修复。
Hi,
I am developing an iPad application which will run in guided access mode. This will be an Enterprise app. the use case is we will provide iPad to our customers with the application installed in it and guided access mode is on and wi-fi is also on.
Now I want users to connect to their own wifi setup at their home (SSID name and password as input field within the app)
So is there any way user can connect to their wifi from within the application entering SSID and password in Guided access mode ?
Or is there is any way user can scan the wifi at their home and connect to on of them by providing password from inside the application. Application will run in Guided access mode only.
Hi, I am working on a visionOS Swift Package.
I'm trying to generate the documentation for preview and export with the following commands, however I keep getting the error:
/Users/chris/myfile.swift:6:8: error: no such module 'UIKit' import UIKit - I'm using UIKit for a color variable.
My Package has:
...
platforms: [.visionOS(.v1)]
...
Failing Commands:
swift package --disable-sandbox preview-documentation
and
PACKAGE_NAME=packageName
REPOSITORY_NAME=repoName
OUTPUT_PATH=./docs
swift package --allow-writing-to-directory $OUTPUT_PATH \
generate-documentation --target $PACKAGE_NAME \
--disable-indexing \
--transform-for-static-hosting \
--hosting-base-path $REPOSITORY_NAME \
--output-path $OUTPUT_PATH
The documentation does build if I build it from within Xcode's Product->Build Documentation menu
Does anyone have any ideas what's wrong here?
Hi everyone,
I had a personal app store console account in back 2019 and the membership was expired after 12 months and now I have a registered business in India and want to publish our mobile app on iOS store for our users.
So, should I renew the old membership and can I change the developer name to business name as I don't want to show my personal name with the apps. Is it possible?
Can I transfer the ownership to the business email?
Can I rename the console account only?
In the case of an entire framework being deprecated, like ML Compute, is there a note left somewhere or a link that helps explain the direction and intended replacement?
When visiting the ML Compute page, there are just lots of "deprecated" badges, but no resource that provides explanation.
What is exactly the relay endpoint in relay server let relayEndpoint = NWEndpoint.url(URL(string: "https://relay.example.com")!)
Is it the server that is already serving the requests ?
Hello, I am looking for a guide on what the HUD graph axis' are, with my main curiosity around the GPU metering. Is this number the load average of the cores, similar to the load avg you see in uptime/top or is it another descriptor? I've not been able to refer to a man page or the readme for this, google searches have yielded me many ways to disable the HUD, but no guide
I have an Xcode project that include a .c file and .h header file. I am getting a duplicate symbol error and I cannot pinpoint what part of my code is the issue or maybe if it's a configuration issue in my Xcode settings or not.
Here's my .h header file code with my declarations:
#define smc_h
#include <stdint.h>
#include <mach/mach.h>
#include <IOKit/IOKitLib.h>
typedef struct {
uint32_t datasize;
uint32_t datatype;
uint8_t data[8];
} SMCVal_t;
extern io_connect_t conn;
kern_return_t openSMC(void);
kern_return_t closeSMC(void);
kern_return_t readSMC(char *key, SMCVal_t *val);
double convertToFahrenheit(SMCVal_t *val);
#endif /* smc_h */
And here is my .c implementation:
#include "smc.h"
#include <mach/mach.h>
#include <IOKit/IOKitLib.h>
io_connect_t conn;
kern_return_t openSMC(void) {
kern_return_t result;
kern_return_t service;
io_iterator_t iterator;
service = IOServiceGetMatchingServices(kIOMainPortDefault, IOServiceMatching("AppleSMC"), &iterator);
if(service == 0) {
printf("error: could not match dictionary");
return 0;
}
result = IOServiceOpen(service, mach_task_self(), 0, &conn);
IOObjectRelease(service);
return 0;
}
kern_return_t closeSMC(void) {
return IOServiceClose(conn);
}
kern_return_t readSMC(char *key, SMCVal_t *val) {
kern_return_t result;
uint32_t keyCode = *(uint32_t *)key;
SMCVal_t inputStruct;
SMCVal_t outputStruct;
inputStruct.datasize = sizeof(SMCVal_t);
inputStruct.datatype = 'I' << 24; //a left shift operation. turning the I into an int by shifting the ASCII value 24 bits to the left
inputStruct.data[0] = keyCode;
result = IOConnectCallStructMethod(conn, 5, &inputStruct, sizeof(SMCVal_t), &outputStruct, (size_t*)&inputStruct.datasize);
if (result == kIOReturnSuccess) {
if (val -> datasize > 0) {
if (val -> datatype == ('f' << 24 | 'l' << 16 | 't' << 8 )) { //bit shifting to from 32bit operation associated with the ASCII charecters'f', 'l', and 't', sets datatype field.
double temp = *(double *)val -> data;
return temp;
}
}
}
return 0.0;
}
double convertToFahrenheit(SMCVal_t *val) {
if(val -> datatype == ('f' << 24 | 'l' << 16 | 't' << 8 )) { //checking if val->datatype is equal to the result of the bit-shifting operation.
double temp = *(double *)val -> data;
return (temp * 9.0 / 5.0) + 32.0;
}
return 0.0;
}
Recently, our team bumped into a crash that we cannot resolve. We looked for help everywhere. I asked people here on forums, team asked about 10 fellow developers and the question on SO was created. Nobody knows the reason for the crash, nobody can find a workaround. So, as the last resort, I called for Apple Technical Support (aka code-level support). I assumed that people there understand how things work under the hood. Considering that this service is limited (2 TSI per year, otherwise paid), I expected the quality to be high. In fact, it didn't help us to resolve the problem, and I was disappointed how irrelevant the provided support could be. TLDR: The dev didn't even open the test project!
I described the memory crash with WidgetKit-based complication. I spend my time capturing video, finding watch logs on my iPhone and creating a sample project. I attached console output, stack traces and a couple of screenshots. I even provided a .watchface file, so they can reproduce the configuration. This together took about 6-8 hours of work. I explained what happens in detail: steps to reproduce, what I've tried. I asked the support to recommend me way to present only the specified complications.
Then I submitted the issue and started to wait. It took them 1 week to responsd. I pointed my sight on the email with excitement, expecting to finally get the resolution. But what I found there was disappointing. The software engineer, Rico, quoted only a couple of sentences from my list. His letter contained only 4 lines of text (not including greetings and cheers).
In the first line he recommended to use preprocessor macro to enable only necessary complications, which is nonsense. Of course we need to change complications dynamically, when the user selects them.
I two next lines he recommends to use if statement in WidgetBundle to dynamically unlock the complications. I already knew that it isn't possible. Because, quote: "if statements in a WidgetBundleBuilder can only be used with #available clauses"
@available(*, unavailable, message: "if statements in a WidgetBundleBuilder can only be used with #available clauses")
public static func buildOptional<W>(_ widget: W?) where W : Widget
The last line cancelled everything before, Rico said that this can't be done at runtime. Probably, he added that after reading the documentation, but forgot to edit his previous statements.
I didn't give up completely. I decided to skip the design discussions and get the info that Rico could probably have, due to his access to the software. Why the extension using so much memory? I also asked him, if he was able to build the project and reproduce the bug.
Another week passed. I'm sending a follow-up message. That worked, after another 3 days I got the response:
Finally some useful information! Timeline and views are being archived to disk (all simultaneously), that's why the memory usage is so high. Basically, a widget design issue. But anyway, we have what we have.
Then next line, he has written this: "Complications are deprecated". What? But wait, he thinks that we use ClockKit, and recommends migrating to WidgetKit. So Rico completely forgot that we discussed WidgetBundle and SwiftUI before 🤡
He honestly tells me that he didn't open the project. Why? Because "Complications are unlikely to be supported", he says. So he "forgot" WidgetKit on intention, this gave him an excuse to ignore the sample project. My time was invested for nothing!
I believe there's no need in further conversation with Rico. I will provide the detailed feedback to the Apple. And I'm posting it publicly to make sure that Rico gets the attention he deserves.
If you want to know more technical details about the issue, you can check the following links:
https://stackoverflow.com/q/77855303/1746142
https://developer.apple.com/forums/thread/744726
Excuse my English.
In Greece where I live the apple service is terrible and you can't find a solution.
After using android for 15+ years I decided to switch to iphone (iOS) and got the shock of my life.
The obvious settings that exist on android on iOS do not exist.
For example I have a lot of trouble with the keyboard keys, because it has small keys, I almost can't type text. The settings from "Accessibility" (I'm considered rather handicapped) to enlarge text (I don't know if it also enlarges the keyboard) spoil texts in apps e.g. in X).
Also in Greek it doesn't give the possibility to change the layout and I am forced to use Google's gboard or Microsoft's SwiftKey.
Also in Adobe Acrobat the list of files in the cloud is flickering.
https://www.youtube.com/shorts/Z3s-XpswXe4
...and the service for printing
https://youtube.com/shorts/-3w8-ycR-dc?si=JpJ0mQTeGOaX6DA8
Incredibly stupid problems!
We applied for us company and the following warning has been appearing for weeks; Your enrollment is being processed. Does anyone work at Apple? Apple are you there? Can you hear us?