evermeer / AlamofireJsonToObjects

An Alamofire extension which converts JSON response data into swift objects using EVReflection
Other
161 stars 28 forks source link

Help with usage #40

Closed cemtuna closed 7 years ago

cemtuna commented 7 years ago

Hi my friends, i tried all of bug fixing but i couldn't be success to use alamofirejsontoobjects in my swift 3.0.2 project with Xcode 8.2.1. My project is in link below. Please help me. http://jmp.sh/rAS7YCX

evermeer commented 7 years ago

Hmm... For some reason you kept getting the warning:

Target 'Pods-Tombus' of project 'Pods' was rejected as an implicit dependency for 'Pods_Tombus.framework' because its architectures 'arm64' didn't contain all required architectures 'armv7 arm64'

After setting your projects 'Build Active Architecture Only' to Yes which is the default it went away. Why do you always want to build for all architectures?

evermeer commented 7 years ago

One other thing. You should change your pod file to:

platform :ios, '8.0'

target 'Tombus' do
  use_frameworks!
  pod "EVReflection/Alamofire"
end

I have moved the AlamofireJsonToObjects into the EVReflection library so that when I change something everything will always be tested. There are now also nice extensions for RxSwift and ReactiveSwift