Closed fortesdev closed 2 years ago
Hey, All the Class names are prefixed with PX for Objc since swift already has namespace we did not add the prefix
will update the podspec with s.source = { :git => "https://github.com/Gainsight/px-ios.git", :tag => s.version.to_s }
I am getting this issue after running the "pod install" command. and the pod is added like this ( pod 'PXKit', :git => 'git@github.com:Gainsight/px-ios.git', tag: '1.11.0')
in the pod file. Kindly help me at your earliest in this.
Hi, in order to make your pod accessible, please replace the following line in your podspec: s.source = { :git => 'git@github.com:Gainsight/px-ios.git', :tag => '1.6.0' } with: s.source = { :git => "https://github.com/Gainsight/px-ios.git", :tag => s.version.to_s }
Also, consider that to avoid collisions with other swift frameworks or libraries, it is better not to use generic class names (ie User, Account, etc.) and apply prefixed names such as PXUser, PXAccount, etc.