Questions tagged [nsuuid]

21 questions
0
votes
1 answer

Property 'uuid' not found on object of type 'CBPeripheral *'

I am using the following code: CFStringRef cfstr = CFUUIDCreateString(NULL, self.peripheral.uuid); This returns an error of "Property 'uuid' not found on object of type 'CBPeripheral *'" I think this is because uuid has been deprecated but I am…
0
votes
2 answers

Are UUID's, and the most basic level, just a string of unique characters?

I am currently learning about UUID in iOS, and of course I'm trying to make sense of them. From what I can gather, when you call NSUUID(), it returns a 128 bit string that is completely unique (though I'm not currently interested in how it can…
0
votes
2 answers

"[[NSUUID UUID] UUIDString]" always returning nil

I am having a problem with [[NSUUID UUID] UUIDString] always returning nil I am using iOS9. This call always returns 'nil' what am I doing wrong? NSUUID *uuid = [NSUUID UUID]; NSString *uuidString = [uuid UUIDString]; if(uuidString == nil)…
Quadrivium
  • 137
  • 2
  • 2
  • 15
0
votes
1 answer

Tracking the Unique Devices after user installs them on their iOS devices

We have a app that keeps track of unique users. Earlier we tracked them using the UDID. As Apple deprecated the use of UDID and it no longer supports the use of UDID. The problem here is when a user installs the app we can know the users unique id…
Srivathsava K
  • 437
  • 2
  • 5
  • 15
0
votes
1 answer

Cannot generate NSUUID in class initializer - Apple Mach-O Linker error

I'm writing an iOS game using Sprite Kit (so targeting iOS 7+) and I'm running into an issue when initializing a gameObject (custom class). If I try and set a UUID for the game's ID, the build fails (see below for the error message); removing the…
MassivePenguin
  • 3,701
  • 4
  • 24
  • 46
-1
votes
3 answers

Error in Beacon project

let region = CLBeaconRegion(proximityUUID: NSUUID(UUIDString: "(the appropriate UUID for my beacons)", identifier: "Estimotes") The above line of code in my project is giving me an error stating: init(UUIDString;)' has been renamed to…
Varsha Pai
  • 19
  • 5
1
2