When comparing SpriteKit vs raylib, the Slant community recommends raylib for most people. In the question“What are the best 2D game engines?” raylib is ranked 36th while SpriteKit is ranked 54th. The most important reason people chose raylib is:
Very good for begginers who are looking for game FRAMEWORKS.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Built-in in Xcode
Easy to access in Xcode.
Pro Awesome performance
One of the most efficient frameworks. If you need to build an iOS game, this is the best solutions.
Pro Simple
Very good for begginers who are looking for game FRAMEWORKS.
Pro Support forum
Though it's a small project, it has a forum on the webpage with helpful content available.
Cons
Con Restricted in apple ecosystem
This is an Apple technology and its use is restricted to iOS and OSX systems.
Con Just coding
Lack of an interface, visual help or auto-debugging could make it difficult to use for a complete beginner.