I purchase apple developer program membership i enrolled for it i paid to apple for 1 year membership
they send me mail and showing my active subscription in Purchases and apple developer app also
but they didn't give me appstoreconnect access what it is mean why i buy apple developer program membership ? because i want to publish my app on appstore i attached screenshot of proof that i have active membership but i didn't get access of appstoreconnect they didn't reply me on mail and on call i contacted apple developer support on call and vie email also they didn't give me any solution
They not refunding my money they don't have me product for what i paid means Scam
APFS
RSS for tagApple File System is the default file system for iOS 10.3 and later, and for macOS High Sierra and later.
Posts under APFS tag
86 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
I working on a drawing app using UIKit and I am trying to create a function that receives a UIImageView as an argument detects the color and then return that UIImageView updated. For example the UIImageView.image will contains a set of UIColors s and my detectColor will check if the image contains .systemGrey then will take any pixel that contains that specific color and change it to .systemPink and return the UIImageView updated
For a beter explation here is an example of my function with pseudo code:
func updateColor(_ imageView: UIImageView ) -> UIImageView {
//.. initialize imageView
//... if imageView.image color has pixels in .systemGrey color then
//... change that color to .systemPink
//... return updated imageView
}
Like I said I only want to change that specific color taking into account that in some cases my UIImageView.image multiple UIColors .Any Ideas, examples or suggestions will be much appreciated. Thanks!.
I am writing a code to capture the accelerometer data for one hour, it suppose to save in the iOS device first, and then I would like to upload to cloudkit. Here is my code.
import UIKit
import CoreMotion
import CloudKit
class ViewController: UIViewController {
@IBOutlet weak var accelerometerSwitch: UISwitch!
private let recorder = CMSensorRecorder()
private let cloudKitContainer = CKContainer(identifier: "iCloud.com.example.accelerometer-recorder")
override func viewDidLoad() {
super.viewDidLoad()
accelerometerSwitch.addTarget(self, action: #selector(accelerometerSwitchValueChanged), for: .valueChanged)
}
private func saveDataToAppFolder(data: [CMSensorRecordingData]) {
let fileName = "accelerometer_data.dat"
let fileManager = FileManager.default
let documentsDirectoryURL = fileManager.urls(for: .documentDirectory, in: .userDomainMask).first!
let fileURL = documentsDirectoryURL.appendingPathComponent(fileName)
let jsonData = try! JSONEncoder().encode(data)
try! jsonData.write(to: fileURL)
}
@objc private func accelerometerSwitchValueChanged() {
if accelerometerSwitch.isOn {
recorder.recordAccelerometer(forDuration: 3600.0) { sensorData in
if let sensorData = sensorData {
// Handle the recorded data
saveDataToAppFolder(data: sensorData)
uploadDataToCloudKit(data: sensorData)
} else {
print("No accelerometer data recorded")
}
}
} else {
// No need to stop recording since it will stop automatically after the duration
}
}
private func uploadDataToCloudKit(filePath: String) {
let fileURL = URL(fileURLWithPath: filePath)
let data = try! Data(contentsOf: fileURL)
let record = CKRecord(recordType: "RecordedData")
record["data"] = data
let database = cloudKitContainer.publicCloudDatabase
database.save(record, completionHandler: { record, error in
if let error = error {
print("Error uploading data to CloudKit: \(error)")
} else {
print("Data uploaded to CloudKit successfully")
}
})
}
}
Anyone can help to fix the error. Thanks a lot.
I have a UIImageView that will serve as a drawing canvas and i want to implement a function that will get the content inside of UIImageView and convert it into a cgContect so it could be set as a background for the canvas to draw over but i ran into an issue. I have a reset button that will set the UIImageView.image to nil (to clear the current UIview) for that I tried to save the UIImageView into a canvasArray array to save it into a second view savedImageView
this is my reset function that will delete the content of mainImageView
@objc func resetPressed(_ sender: Any) {
mainImageView.image = nil
}
The array that will is store and object that receives mainImageView as a param and the function that saved it
var canvasArray: [Canvas] = []
@objc func saveCanvas(_ sender: Any) {.
//here is the UIImageView
guard let canvas = Canvas(name: "", canvas: mainImageView, numOfPages: 0) else {
return
}
canvasArray.append(canvas)
if canvasArray.count > 0 {
canvasArray.forEach{ canvas in
print("\(canvas.canvas.image)")
}
}
}
And the function that will get the iUIImageView.image and will convert it into cgContext
@objc func changeImagefunc(_ sender: Any) {
if canvasArray.count < pages {
return
}
if let savedImage = canvasArray[pages].canvas.image {
UIGraphicsBeginImageContext(view.frame.size)
savedImage.draw(in: view.bounds)
if let drawnImage = UIGraphicsGetImageFromCurrentImageContext() {
mainImageView.image = drawnImage
}
UIGraphicsEndImageContext()
print("clicked button ")
}
}
I have 3 different UIViewImage that will ser a specific purpose mainImageView and tempImageView that will check the start and and of the drawing (function(which works fine) and the savedImageView that will receive the image converted into "cgContext " . Three of them stored in a function that then gets passed into the viewDidLoad section
func setupImageViews() {
view.addSubview(tempImageView)
tempImageView.frame = view.bounds
if savedImageView.image != nil {
view.addSubview(savedImageView)
savedImageView.frame = view.bounds
} else {
view.addSubview(mainImageView)
mainImageView.frame = view.bounds
}
}
Like I said i can not get this to work because the resetButton/function is deleted not only the current UIImageView (which is what is intended to do ) but also deletes the content inside the canvasArray which I want to avoid. Would there ve a different approach to it or what else do you recommend?
terminating due to uncaught exception of type std::__1::__fs::filesystem::filesystem_error: filesystem error: in temp_directory_path: path "/private/var/mobile/Containers/Data/Application/29DF84C0-0BAD-45C7-BEF9-6F49053DC1E8/tmp/" is not a directory: Not
this crash started with iOS 17
we received a new crash report from device running iOS 17 but couldn't find any usable info inside of it
the crash happened while in the background
please can
2023-10-25_09-46-34.5152_+0300-4451506f9932e4f576e8339ca5a90e1d5647af4e.crash
Hello Everyone,
I just create a new game name Car Parking Game. Everything is from scratch and all code is mine. But when I submit for review I just receive 4.3.0 spam on my game. Please help me to resolve this issue.
Hello everyone,
I am running 14.0 (23A344) and have sporadic issues like operation not being permitted when trying to remove some folders in ~/Library after some application was uninstalled using AppCleaner.app, which I have used for years. It works 99% of the time, but sometimes I get errors that some files/folders in ~/Library can not be removed. If I try to "sudo rm -rf" that folder from Terminal, I get operation not permitted.
So this did bring me to DiskUtility. I am running MBP 14 M1 Pro. As always when I get a new machine, the first thing I do is reformat SSD to Case Sensitive Encrypted from default Case Insensitive since that gives me issues with my source code compilation when developed between Mac and Linux.
Here is my Disk Util. I do not get any warnings on any other partitions/sections under and including "Macintosh HD volume" at the top of the hierarchy.
When I run FirstAid on the Data partition, I get the following warnings.
Now I can run this repeatedly, and the same errors are produced. I can do a reboot in between running Disk Utilities, and the same warnings. I did boot to Safe Mode and run Disk Utility, and the same warnings.
I contacted Apple support and have a case: 102125788648, but I was also instructed to create a case here.
Here is my side story, why I can not use Time Machine.
As a last resort, I was asked to reformat and reinstall. That is not an option for me at this point since restoring everything is a 1-2 day job.
Now, I know there is a Time Machine, but on my two attempts in the past, backups created on brand new external Samsung 970 Pro SSD failed to restore.
These two backups/restores were a few months apart. So on the second support call, it was suggested by support to back/restore using TimeMachine. After stating that I had a horror story on my first attempt a few months back, I was assured that the issue had been fixed and I should not have an issue. Oh well, same issue.
After spending considerable time with support (a few folks) they noticed that the Time Machine folder structure was wrong and some intermediate folder was missing causing the issue. In both cases, I never heard anything back if it was addressed/fixed, except the support during the second case, assured me that it was fixed.
That is why I did try to use Time Machine with him to back up while he was screensharing to make sure I did not do anything unusual. Still, restoration failed.
So even Time Machine should make restoration painless, for it was pain, since on the first occasion I lost all the files. On second I could brow Time Machine folders in Terminal and pick files/folders from there. Took a long time.
And to throw another strange case, I could only access them from Terminal under my wife's machine which is running an older Mac, but the new restored Mac I "was not able"! which is very weird. Both machines were at the time Intel machines. So I never attempted to use TimeMachine again on M1 Pro.
So I hope everyone sees why I do not want to reformat and restore.
Now, I have a feeling that most of my problems might be related to Case Sensitive reformated SSD. I can not go back to Case Insensitive (default), as I explained above.
I am here to provide any information to help get this fixed.
Any suggestions or anything to try?
Robert
The error message:
Uncategorized (Xcode): Unable to find a destination matching the provided destination specifier:
{ id:D8AAC390-9CB8-47CA-A1EA-42ED7CA153A1 }
Available destinations for the "Runner" scheme:
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008103-000368981E62201E }
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
Could not build the application for the simulator.
Error launching application on iPhone 12 Pro.
I am using a 2021 MacBook Pro 16" with an Apple M1 Max chip and 64 GB of RAM, running macOS Ventura 13.6.
I have been using an external drive, the Seagate BarraCuda Compute 2TB Hard Drive. Last week, I used it about five times to save some photos and work on Excel files. However, when I tried to open it the following day, it prompted me for a password, but it failed to mount.
The partition type is Apple_HFS, and it is encrypted because I used it with Time Machine a few years ago.
I can hear the noise it typically makes when I was working on it, but it doesn't mount.
So, I attempted to view it in Disk Utility, but to no avail. I can see the drive, but the partition I use appears gray, and the Mac attempts to mount it. When I try to click on it in Disk Utility, the application crashes, and I have to force quit it.
I also tried purchasing a new external hard drive reader to use with my hard drive, but I encountered the same issue.
I also tried to work with the Terminal, but it responds very slowly. For example, the 'diskutil list' command took approximately 5 minutes to generate a response, and when I attempted to eject it, it didn't work and remained stuck loading.
I have the last six years of my life stored on this drive, so it would be incredible to recover the data. Do you have any suggestions?
This is my first time here, and I'm excited to seek assistance in creating my own VPN app. While I do have some experience with Swift 5, I'm not sure where to begin. I've successfully set up my VPN server using L2TP IPsec, and it has been running smoothly for several months. I can manually connect to it using my iPhone and Mac without any issues.
I can't use openmp with Xcode 15.0
Hello,
I have and Iphone 11 that I purchased back In may, its fairly new, but lately the last couple of weeks it has been acting up, glitching if you will. So i went to see if I needed to update my software. Did that and it hasn't been right since. Today I was trying to get on my apps along with trying to reset and I couldn't even reset the phone it was not working at all. I am wondering what solutions I can utilize to maximize my phone. also the update takes half of my storage. I almost feel like im forced to purchase a new phone in which Im not really trying to do simply because my 11 is fairly new
With the iPhone 12 Pro, Apple created a dual sim/multi line phone.
How about an IOS update that allows users to assign a different ringtone to each of the phone numbers?
Right now, the single ringtone for the phone is used for each individual phone line/number.
Let's change this ASAP.
After Xcode was updated to last 16 it no longer seeing my iphone 14 pro running ios 17.0
Any help on how to resolve this.
When I try to link a file on macOS, I get:
$ cp -l release-source/release/examples/stubs-1-pubsub.test.js .
cp: ./stubs-1-pubsub.test.js: Bad file descriptor
This made it seem like the copying failed, but ls shows it went fine:
$ ls -li release-source/release/examples/stubs-1-pubsub.test.js stubs-1-pubsub.test.js
9825657 -rw-r--r-- 2 carlerik staff 1072 26 sep 16:24 release-source/release/examples/stubs-1-pubsub.test.js
9825657 -rw-r--r-- 2 carlerik staff 1072 26 sep 16:24 stubs-1-pubsub.test.js
A related post talks about this error coming from the file system, not the cp util itself. Creating a hard link using the ln command works fine, so the error must be due to something cp does that ln does not, so I fired up the console and captured messages hoping to see something. I cannot see that I do ...
Does anyone have an idea what this is caused by?
System information
❯ npx envinfo --system
System:
OS: macOS 13.5.2
CPU: (12) arm64 Apple M2 Max
Memory: 4.24 GB / 64.00 GB
Shell: 5.2.15 - /opt/homebrew/bin/bash
❯ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk0
1: Apple_APFS_ISC Container disk1 524.3 MB disk0s1
2: Apple_APFS Container disk3 2.0 TB disk0s2
3: Apple_APFS_Recovery Container disk2 5.4 GB disk0s3
Hi,
I am a high school student currently wokring on an IOT-based project where data is sent from a collection of sensors, to an IOT, to a Database, to an XCode App. It is the last step I am currently stuck on. I am able to get data from the sensors to the database but I'm not sure how to make the database (InfluxDB) transfer data to the app. Any ideas?
I'm trying to use autofs to mount some macFUSE filesystems. However, autofs requires custom filesystems to provide /sbin/mount_* and this directory is not writable nor modifiable via synthentic.conf
Using a launch agent or daemon is not desirable as there is a non-blocking delay before the filesystem gets mounted which causes a race condition.
Is there any other option to let diskarbitrationd or autofs to automatically mount a macFUSE filesystem?
Everytime I try to set a live wallpaper, I always get an error no matter what it is saying, "Motion from this live photo is not supported as a wallpaper". I have used only live photos AND ones I just made/got on IOS 17. None work... is this feature broken or am I doing something wrong?
i dont receive notifications from instragram. i already tried every method that google gave me but still nothing.
btw, this problem is running just for instagram
can anyone help me?