This article is a record to summarized my project to migration from Three20 to Nimbus. Here is specific step by step to help you porting (migrate) your three20 Original project is a Facebook photo album which implement base on http://www.raywenderlich.com/1430/three20-tutorial-for-ios-how-to-use-the-three20-photo-viewer Add Nimbus in your project Sync code git clone https://github.com/jverkoey/nimbus.git Goes to nimbus path git submodule init git submodule update Include nimbus code in project Core Photos Paging Scroll View Models Overview Include Thirdparty in your code JSONKit remember to add “-fno-objc-arc” on Targets -> Build Phase -> Compiling Phase to disable ARC compiling AFNetworking Add framework libz.dylib MobileCoreServices.framework SystemConfiguration.framework CFNetwork.framework Add those three include in your pch #import “NimbusCore.h” #import “NimbusPhotos.h” #import “NimbusModels.h” Remove original Three20 project Remove all Three20 xproj in your framework. Replace using to replace TTPhotoViewController to FacebookPhotoAlbumViewController Remove photo.h Photo.m Remove PhotoSet.h PhotoSet.m Remove PhotoViewController.h PhotoViewController.m Drag NimbusPhotos.bundle from src/photos/resources into your project. Add follow file into...
SDK需要重新安裝與包裝,這次打算放到dropbox可能可以方便下次有富源需求(希望不要)
iOS Development Certificate的問題
當初我有保留以下檔案
AppleWWDRCA.cer
CertificateSigningRequest.certSigningRequest
Evan_Lin_iPhone4.mobileprovision
ios_development.cer
不過還是沒辦法,因為private key 不見了,所以還是得重新申請,參考以下方法
Connect to the apple developer member center then the iOS provisional portal.
Revoke my certificate.
Create a new certificate by providing a new pair of private and public key.
Remove all the previous provisioning profiles and create new ones.
Download the new provisioning profiles and install them in XCode by just dragging them to the XCode icon in the dock.
refer
http://stackoverflow.com/questions/6769345/xcode-4-valid-signing-identity-not-found-error-on-provisioning-profiles-on-a
http://adalin05.pixnet.net/blog/post/26454479-iphone%E9%96%8B%E7%99%BC%E7%AD%86%E8%A8%98%EF%BC%9Aerror-message
遇到”A valid provisioning profile matching the application’s Identifier could not be found”
雖然certificate都安裝好了~還是有可能遇到問題
這時候解法是 xcode -> windows -> Orgnizer 然後 editor->refresh from developer portal
refer: http://forum.geego.com/forums/modules/newbb/viewtopic.php?topic_id=623&forum=17
之後要到xcode設定把 target 從iOS device 改道 iPhone
refer: http://stackoverflow.com/questions/16155613/a-valid-provisioning-profile-matching-the-applications-identifier-could-not-be
重開xcode 或是重新 clean -> build 就可以