The U.S. Securities and Exchange Commission on Wednesday filed a lawsuit accusing a former lawyer at Apple Inc of insider trading ahead of the iPhone maker's quarterly earnings announcements.