The invention relates to a
resource allocation method based on an iOS (Internet 0perating
System) platform. The
resource allocation method comprises the steps of exporting relevant attribute information of elements attached on an interface as a
resource allocation file of an
xml format, then uploading the resource allocation file to a SVN (Switching Virtual Networking) resource
library, building a single resource path allocation file &1t:ResPath.
xml> and adding a resource path of the resource allocation file to the resource path allocation file &1t:ResPath.
xml>. According to the resource
allocation method, only the single resource path allocation file &1t:ResPath.xml> is used for manufacturing and adding the resource allocation file; resource of the resource allocation file comprising the xml format is uploaded in a formed
resource map to form a stable development
engineering structure; consequently, a build-in
engineering allocation file of Xcode
engineering is not required to be changed and synchronized for each time when a program developer of a game adds the resource, but only the required resource is used according to the set
resource map, so that the program developer is free from invalid and repetitive work for combining engineering files; and the development efficiency can be greatly improved.