1

I'm trying to add a tmx file in my scene but I get

EXC_BAD_ACCESS

please help me

![My project structure is this

enter image description here enter image description here

Vishnu
  • 56
  • 1
  • 12

2 Answers2

0

To make a number value an int use Int() instead of (int).

e.g.

let a: Int = 5
let b: Double = Int(a)
Blake Lockley
  • 2,931
  • 1
  • 17
  • 30
0

Its worked. I was saving the file in wrong way.it must save in Base64 compressed format.

Vishnu
  • 56
  • 1
  • 12