Post

Replies

Boosts

Views

Activity

Reply to Big Sur not opening Applications even after 2 Reinstalls
This is the developer forum. All answers will require you to use programming instructions of some kind. That's the whole point. You should probably post your question in Apple's Consumer support forums instead: https://discussions.apple.com/welcome Those consumer support forums are much, much larger. Instead of waiting days (or forever) for an answer, you can expect an answer in a few minutes. You just have to make sure to pick the appropriate forum and provide a good description of the problem. Sometimes, the big forums are so busy that questions don't get answered in a few minutes and they fall off onto page 2, where no one will ever look for them. After 24 hours, an Apple Community Specialist will offer you a couple of Apple Support articles that might or might not help.
Topic: App & System Services SubTopic: Hardware Tags:
Feb ’21
Reply to codesign/produtsign 3rd paty TSAs
Can I use any timestamp server with codesign command? Apparently If yes, can you please share list of trusted TSAs? You mean other than Apple? Trusted by whom? The codesign command does support a timestamp server parameter. If you trust the server, then you can supply a parameter. I have no idea if it works or not. Also, will notarization succeed if I use non-apple timestamp server? Utterly no clue. Given what I've seen regarding Notarization problems, this seems like a high-risk approach. Notarization is drop-dead, fall-of-a-log, Oh My God This is Easy! Yet some people insist on trying new and unusual ways to build code and attempt to notarize it. Each new failure is more comical and bizarre than the last. If you sincerely think it would be a good idea to use a custom timestamp server and to attempt to notarize software with it, why don't you just try it and see if it works? What's the worst that could happen? Your download displays a big "cannot check for malware" warning? Some minor operating system update causes your app to stop working? Your app stops working on its own on some random date in the future and no one know why? Your customer band together and file a class-action lawsuit? How do I specify a timestamp server in productsign command? I see no timestamp server option in the productsign command.
Topic: Code Signing SubTopic: General Tags:
Feb ’21
Reply to Linking error: Library not found
What do you mean by "library"? You could have a static archive library that would directly link into your executable like any other object code. You could have a framework, which is a fancy wrapper around a dynamic library, that you would specify under General > Frameworks and Libraries. This framework would automatically be bundled with your app. If you have an Xcode workspace with both app and framework targets, then this is how it is all supposed to work. You could also have a dynamic library. I think you could also specify this under General > Frameworks and Libraries. I've never used this option as it is problematic for many reasons. Another option is to install your dynamic library and/or framework separately into ~/Library/Frameworks or /Library/Frameworks (or some other location) and specify all the correct settings so that your app can find it. Again, this is problematic for many reasons.
Feb ’21
Reply to Intermittent codesign failure when running parallel builds
It sounds like you are in the wrong forum, possibly the wrong web site. When I read your post, this is what I see: blah, blah, 3rd party, blah, buzzword, blah errSecInternalComponent Command CodeSign failed with a nonzero exit code We're using: something something else something I've never heard of and sounds really bad but same account to build with blah, blah, blah People here would be happy to dig into those two items that make sense. Do you have a crash log or something that someone could look at? Maybe a command invocation and full stdout/stderr? Otherwise, nobody has any idea about those 3rd party tools and how they interact with Xcode and each other. In truth, it sounds like some kind of docker-fuelled, deep-stack, tensor-flow AI typescript pipeline. This is not our world.
Jan ’21
Reply to For indie developers - separate AppleID for your business?
Thanks a lot for the replies and thoughts. Do people have favorite resources for learning the ropes as a small business? I've been reading "Small Time Operator." I know of no such resource for app developers. Moreover, most of the information that you will find about starting an indie app development business is wrong, sometimes maliciously wrong. Developing software is not like other businesses. When you go to talk to an accountant, lawyer, or insurance broker, you have to explain it to them from the ground up. In many cases, they will have never encountered anything like this in their careers. When you fill out forms, you will struggle to even find the right category to identify your business type. When you look to find out what tax and consumer protection laws apply to your business, you will have to go deep into the minutiae of intangible personal property and/or software services. Most of what exists for "software" is designed for companies like IBM. Either it will not apply to your small company, or it will, with all the paperwork, fees, and forms that IBM has to submit. It was easier years ago when it was more of a "Wild West". Now, all of the authorities know something is going on, they know they are being cheated, and they are looking to get control. However, there is one bright spot - Apple. We will soon see the end of the Golden Age of the app developer, but it isn't over yet. As bad as it is, Apple is as good as it gets. Apple takes care of most of the details and gives you access to the best customers. You should be able to find professional services like accountants, lawyers, or insurance brokers who know about Apple's developer program and maybe already work with some Apple app developers. Keep looking until you find them. You might have to choose some bigger, more expensive names than you would like. But the bigger companies have more resources to tap into than the local folks who just deal with plumbers and duct cleaners. If they don't know how to do something, they have people they can call and ask. I can't make any guarantees about the future. There are a lot of powerful and/or influential people who are working hard to put an end to this. They've made their money and now they want to burn it all down. Don't follow their advice.
Jan ’21
Reply to App does not use my permissions to create dir
The App Sandbox has no boxes checks or files selected, on the signing&capabilites for the target. Those checkboxes and options under App Sandbox are exceptions to the sandbox's restrictions. Since none of those are checked, that means you are running under the highest level of restriction. Your app will not be able to access ~/Documents at all as long as "User Selected File" is still set to "none". If you want to turn off the sandbox, look in the upper, left corner of the App Sandbox area. You will see an "x" button that you can click to turn off the sandbox entirely. PS: If you want to post code in the future, make sure to use the "Code block" button in the forum toolbar. Otherwise, the forum software will scramble your code. Even so, you should carefully review that code. It looks fragile.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’21
Reply to I'm frustrated with the code signing support to publish app on macOS store
The app I'm building is an electron app. You don't say. I'm signing the app content using the command line tools. And then I'm packaging it as .pkg. Fair enough Transporter is apple's recommended app to upload app packages to MacOS App Store. It is supposed to find issues with package early on before submitting it to macOS App Store. All checks were passed. Apple recommends using Xcode. They provide Transporter for people who want to make life more difficult for themselves, but I wouldn't call that a recommendation. I don't see how Xcode can be used(the app is written in javascript using electron, not in swift or objective C) Maybe do some additional research on your Electron platform. I have tried different permutation combination of signing with Apple ID, using provision profile, changing .plist file, etc. You mean, random trial and error? That is not a recipe for success. What has Electron support told you about this issue?
Jan ’21
Reply to Does MacOS notarization work for Apple Arcade MacOS apps?
Curious to know if others are experiencing the same thing? The post hasn't been updated in a month. This is not Stackoverflow. It's pretty much you and me here. You should probably start your own thread and post more details about your app. I know you said "dirtro of Unity Game"(?) but that doesn't have any meaning. If you want help from Unity, ask Unity. What does your app bundle look like. How did you build it? Please note that you most definitely did not notarize it. If you had, then it would work. You ran some some commands no doubt. But then it fails, meaning your notarization did not work. The log should contain more details about exactly what happened. Granted, the log is really, really difficult to use. But it is what it is. I can tell you right now that notarization problems are always the same. Some crazy open-source project, built in new and unsupported ways, tested only on a developer rig, with little thought as to how dynamic libraries work. A recipe for failure.
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’21
Reply to For indie developers - separate AppleID for your business?
Are there any "gotchas" if you set up a second Apple ID just for your paid developer account? Always I assume you can set up your personal ID as a "developer" in App Store Connect for testing. No. Never do that. App Store Connect has the ability to create kinda-fake Apple IDs just for testing. They use special Apple developer services designed just for testing. How do you do two-factor for the "business" ID? (Do you need a separate device for that?) Do you use the same phone number for both accounts (I'm only planning on having one phone, haha)? This Apple web page - https://developer.apple.com/support/authentication/ has instructions on how to configure your phone for two-factor authentication with multiple accounts. It is very easy. You can do it on your Mac with a separate account but using your phone is so much easier. PS: Those testing Apple IDs also support two-factor authentication. But for those, I just use SMS. I wouldn't recommend trying to integrate them with real two-factor authentication, or even if that is possible. Are there actually any meaningful advantages to having a separate Apple ID for this purpose? I don't know if I could conceive of any "meaningful advantages". There are a number of gotchas and hassles associated with having a separate developer Apple ID. It is just that I can't even imaging trying to use the same Apple ID. Maybe if you are just doing it as a hobby and always plan to do that forever then a single Apple ID might be acceptable. If you have any apps in the App Store, they will be associated with your real name. That can be a bit suspicious. I have an app that has some security features and I've been seriously contemplating considering any Mac app signed by a personal Apple ID to automatically be potential malware. I have a lot of data from the other side of things so I know that signed, malicious Mac apps are always signed with personal (but probably fake) Apple IDs. I consider such accounts practically worthless from a security perspective. This does NOT apply to App Store apps, however. There are more hoops to jump through over there. One of the biggest hassles is just dealing with multiple Apple IDs. One trick I use is keeping Safari Technology Preview handy and using that exclusively for my business activities. This way, I can login to the forums (and App Store Connect) with my business Apple ID. All of my other Apple interactions (iCloud, etc.) use my personal Apple ID in the normal Safari version. I even use a really old Apple ID for Apple Support Communities (long story). Apple's corporate login procedures are not designed for multiple Apple IDs. But ironically, Apple has made if more difficult to sign in at all recently and now it is a little bit easier to just click on the "Use other Apple ID" button and then I can just pick the appropriate Apple ID and let it autofill the password. Officially, I am in complete agreement with Eskimo's suggestion to create a corporate entity, especially if you ever intend to charge money or do more than hobby coding. Just don't that that step lightly. It isn't as expensive as you might think, but ideally, put a couple thousand dollars into it to do it right. You will need to pick a business name and make sure it isn't one that someone else has ever used. You WILL get sued if you don't do your legwork and preparation. At a minimum, check domain names and do trademark searches. I strongly recommend consulting with a lawyer. Your corporation would be a global corporation and subject to laws throughout the world. Apple makes compliance with global laws very easy. Apple handles 90% of the details for you. (But not 100%). Read that developer agreement very carefully and have your lawyer do likewise.
Jan ’21
Reply to I'm frustrated with the code signing support to publish app on macOS store
I had done the best by following the code signing documentation, testing it locally and using transporter to verify the package Can you clarify what you mean by "testing it locally"? I assume you are just running the app on your development machine. You should be testing in a pristine, "factory fresh" environment such as a virtual machine or, even better, a dedicated test device. These test environment must always be using the latest shipping version of macOS as that is what App Review is going to run. And what is this "transporter" that you are talking about? Just kidding! 😀 You are using some cross-platform app builder instead of Xcode, right? Well, you have to ask yourself. How much time and effort are you really saving? To be honest, you don't need code-level support for this. Just build your app in Xcode and pretty much everything is done for you. Yes, I know! You are too far along to rewrite everything now. No money is worth more than money than you have already spent. I suggest you contact whatever support resources exist for your 3rd party app-building tool. It will probably be another free forum environment like this one. But those people, unlike anyone here, will 1) know what tool you are using and 2) be familiar enough with it to offer you advice.
Jan ’21
Reply to Full disk permissions for compliance script, or alternative?
A number of the apple apps ask on first attempt, and then auto-add the permission I have never seen a single Apple app ask for Full Disk Access at all. They most definitely never "auto-add" any permissions. You seem to be thinking about the access for certain special locations like Downloads or Desktop. Any app that attempts to access those locations will trigger a confirmation dialog. As a convenience, Apple automatically adds apps to those security lists, but leaves them unchecked. This is so the user doesn't have to go searching for them. I don't care about App Store anything - this is a pure shell script to do compliance audits in my company to validate that users are actually performing regular time machine backups as required by our ISO standards. We only use this script internally. Then why do you care about this? Just give your app app Full Disk Access via MDM. Which it turns out, means you would need to grant access to /usr/bin/env rather than /bin/bash. Duh. The macOS version of bash is ancient. It is better to use zsh. For scripts, just use "sh".
Topic: Privacy & Security SubTopic: General Tags:
Jan ’21