how to add ARC in between of project

前端 未结 6 1101
走了就别回头了
走了就别回头了 2021-01-07 09:58

I am creating iPhone app and in between I need to use SDWebImage. For this I need to use ARC.

Any idea how to add ARC in between in project?

Note:

6条回答
  •  执念已碎
    2021-01-07 10:13

    Select Project Form Project Manager
      |
      | 
      Targets
           |
           |
         Build Phases
              |
              |
            Compile Sources
                    |
                    |
                Select File that you Want to crate as ARC. (You can also Select Multiple File name from here)
                            |
                            |
                        Press "ENTER" key
                               |
                               |
                          Popup Box/Window is displayed 
                                   |
                                   |
                                Write here - '-fno-objc-arc'
                                        |
                                        |
                                    And again Press 'ENTER' key.
    
    Your selected file is being ARC.
    

提交回复
热议问题